mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 12:23:59 +08:00
natRuntime.cc (insertSystemProperties): Set java.ext.dirs earlier.
* java/lang/natRuntime.cc (insertSystemProperties): Set java.ext.dirs earlier. From-SVN: r92964
This commit is contained in:
parent
3dd7ab6505
commit
7385c78009
@ -1,3 +1,8 @@
|
||||
2005-01-05 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* java/lang/natRuntime.cc (insertSystemProperties): Set
|
||||
java.ext.dirs earlier.
|
||||
|
||||
2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
* java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
|
||||
|
@ -537,8 +537,13 @@ java::lang::Runtime::insertSystemProperties (java::util::Properties *newprops)
|
||||
SET ("user.region", "US");
|
||||
}
|
||||
|
||||
// The java extensions directory.
|
||||
SET ("java.ext.dirs", JAVA_EXT_DIRS);
|
||||
|
||||
// Set some properties according to whatever was compiled in with
|
||||
// `-D'.
|
||||
// `-D'. Important: after this point, the only properties that
|
||||
// should be set are those which either the user cannot meaningfully
|
||||
// override, or which augment whatever value the user has provided.
|
||||
for (int i = 0; _Jv_Compiler_Properties[i]; ++i)
|
||||
{
|
||||
const char *s, *p;
|
||||
@ -595,9 +600,6 @@ java::lang::Runtime::insertSystemProperties (java::util::Properties *newprops)
|
||||
// The name used to invoke this process (argv[0] in C).
|
||||
SET ("gnu.gcj.progname", _Jv_GetSafeArg (0));
|
||||
|
||||
// The java extensions directory.
|
||||
SET ("java.ext.dirs", JAVA_EXT_DIRS);
|
||||
|
||||
// Allow platform specific settings and overrides.
|
||||
_Jv_platform_initProperties (newprops);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user