harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2321) [classlib][launcher] Launcher fails to find properties location when bad -Djava.home is specified on the command line
Date Tue, 17 Apr 2007 08:41:15 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Petrenko updated HARMONY-2321:
-------------------------------------

    Summary: [classlib][launcher] Launcher fails to find properties location when bad -Djava.home
is specified on the command line  (was: [classlib] Launcher fails to find properties location
when bad -Djava.home is specified on the command line)

> [classlib][launcher] Launcher fails to find properties location when bad -Djava.home
is specified on the command line
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2321
>                 URL: https://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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message