Main.java (main): Handle '-p'.
libjava: * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'. (usage): Document '-p'. * Makefile.in: Rebuilt. * Makefile.am (dbexecdir): New variable. (db_name): Likewise. (dbexec_DATA): Likewise. ($(db_name)): New target. (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE. * java/lang/natRuntime.cc (insertSystemProperties): Set default system database. gcc/java: * gcj.texi (Invoking gcj-dbtool): Document 'gcj-dbtool -p'. (libgcj Runtime Properties): Document the default .db. From-SVN: r96303
This commit is contained in:
@@ -531,6 +531,9 @@ java::lang::Runtime::insertSystemProperties (java::util::Properties *newprops)
|
||||
// The path to libgcj's boot classes
|
||||
SET ("sun.boot.class.path", BOOT_CLASS_PATH);
|
||||
|
||||
// If there is a default system database, set it.
|
||||
SET ("gnu.gcj.precompiled.db.path", LIBGCJ_DEFAULT_DATABASE);
|
||||
|
||||
// Set some properties according to whatever was compiled in with
|
||||
// `-D'. Important: after this point, the only properties that
|
||||
// should be set are those which either the user cannot meaningfully
|
||||
|
||||
Reference in New Issue
Block a user