[Bug 107] New: classpath incorrectly computed in java-sablevm?

[email protected]
Newsgroups gmane.comp.java.vm.sablevm.bugs
Message-ID <[email protected]>
http://sablevm.org/bugs/show_bug.cgi?id=107

           Summary: classpath incorrectly computed in java-sablevm?
           Product: SableVM
           Version: staging
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


java-sablevm computes the classpath as this:

CLASSPATH=$JAR_CLASSPATH:$CMD_CLASSPATH:$CLASSPATH
OPTS="--classpath=$CLASSPATH $OPTS"

There are two possible problems:

1) If one of the variables (ex: JAR_CLASSPATH is "", we have an empty path
component.  An empty path is equivalent to adding "." to the classpath.  So we
need to avoid to adding empty path component.

2) Sun's and IBM's VMs ignores the CLASSPATH variable if the -classpath option
is specified.  java-sablevm combines all the classpath together.  Is our
behaviour, the one we want?  I'm not sure what is done with other VMs with
combinations of -jar, -classpath and CLASSPATH var.

any comment?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.