harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2321) [classlib] Launcher fails to find properties location when bad -Djava.home is specified on the command line
Date Fri, 24 Nov 2006 23:48:02 GMT
[classlib] Launcher fails to find properties location when bad -Djava.home is specified on
the command line
-----------------------------------------------------------------------------------------------------------

                 Key: HARMONY-2321
                 URL: http://issues.apache.org/jira/browse/HARMONY-2321
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: All
            Reporter: Gregory Shimansky


A short investigation shows that launcher parses -Djava.home passed on the command line. Later
on while classlib is initialized the function readClassPathFromPropertiesFile calls properties_load
with file name formed as ${java.home}/lib/boot/bootclasspath.properties. If this file is not
found and properties_load, then no value is assigned to org.apache.harmony.boot.class.path.

I think this system is wrong. The launcher should not pay attention to java.home passed on
the command line. The location should be found from the executable path probably. RI doesn't
crash or fail its boot classes when I specify bad -Djava.home on the command line.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message