Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6787605
Votes 0
Synopsis OpenSolaris doesn't have /usr/ucb/ps so ShellScaffold fails
Category java:debugger
Reported Against b40
Release Fixed 7(b74), 6-open(b18) (Bug ID:2185477)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs 6849809 , 6893426 , 6903102
Submit Date 19-DEC-2008
Description
New JDI_REGRESSION failures (from 2008.11.27)
    com/sun/jdi/ArrayLengthDumpTest.sh
    com/sun/jdi/CatchCaughtTest.sh
    com/sun/jdi/CatchPatternTest.sh
    com/sun/jdi/GetLocalVariables3Test.sh
    com/sun/jdi/GetLocalVariables4Test.sh
    com/sun/jdi/JdbMethodExitTest.sh
    com/sun/jdi/JdbMissStep.sh
    com/sun/jdi/JdbVarargsTest.sh
    com/sun/jdi/NotAField.sh
    com/sun/jdi/Redefine-g.sh
    com/sun/jdi/RedefineImplementor.sh
    com/sun/jdi/RedefineMulti.sh
        These tests failed due to "/usr/ucb/ps: not found" on Solaris
        AMD64 Server VM (machine sfx2200-01). Here is a listing of
        /usr/ucb on sfx2200-01:

            % ls /usr/ucb
            lpc@     lpq@     lpr@     lprm@    lptest@

        The test machine is not properly configured, but perhaps the
        tests should be more resilient about finding the ps command.

        Update: OpenSolaris does not have /usr/ucb/ps; Tim suggests
            that we might be able to use pargs.
Posted Date : 2008-12-19 18:29:00.0
Work Around
N/A
Evaluation
If /usr/ucb/ps is not available (/usr/ucb has been deprecated for years):

Jim Holmlund wrote:
> Using jps -v might be worth a try.

Tim Bell wrote:

> Good idea.  Also remember to filter out the pid of jps itself.
Posted Date : 2009-06-10 19:47:22.0

http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/7dfb0e3a12a8
Posted Date : 2009-12-08 22:12:24.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang