Properties like 'java.class.path' and 'java.boot.class.path'
should be set after all classpath elements are set.

Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
---
 vm/jato.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vm/jato.c b/vm/jato.c
index 5764cdc..89142aa 100644
--- a/vm/jato.c
+++ b/vm/jato.c
@@ -1329,8 +1329,6 @@ main(int argc, char *argv[])
 
        parse_options(argc, argv);
 
-       init_configurable_system_properties();
-
        classloader_init();
 
        init_vm_objects();
@@ -1352,6 +1350,8 @@ main(int argc, char *argv[])
 
        gnu_classpath_autodiscovery();
 
+       init_configurable_system_properties();
+
        if (preload_vm_classes()) {
                NOT_IMPLEMENTED;
                exit(EXIT_FAILURE);
-- 
1.6.0.6


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to