Revision: 5622
          http://sourceforge.net/p/jump-pilot/code/5622
Author:   edso
Date:     2017-12-10 20:46:22 +0000 (Sun, 10 Dec 2017)
Log Message:
-----------
fix a typo resulting in weird errors wrt. Trampoline (?) when starting eg.

"
[ERROR] 21:45:43.611 Trampoline must not be defined by the bootstrap 
classloader at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:407)
java.lang.Error: Trampoline must not be defined by the bootstrap classloader
        at sun.reflect.misc.Trampoline.<clinit>(MethodUtil.java:51)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at sun.reflect.misc.MethodUtil.getTrampolineClass(MethodUtil.java:406)
        ...
"

Modified Paths:
--------------
    
core/trunk/src/com/vividsolutions/jump/workbench/plugin/PlugInClassLoader.java

Modified: 
core/trunk/src/com/vividsolutions/jump/workbench/plugin/PlugInClassLoader.java
===================================================================
--- 
core/trunk/src/com/vividsolutions/jump/workbench/plugin/PlugInClassLoader.java  
    2017-12-10 15:49:38 UTC (rev 5621)
+++ 
core/trunk/src/com/vividsolutions/jump/workbench/plugin/PlugInClassLoader.java  
    2017-12-10 20:46:22 UTC (rev 5622)
@@ -83,7 +83,7 @@
   }
 
   /**
-   * this is a workaround! java9 fails to resolve if the resource contains a 
leading slash
+   * THIS IS A WORKAROUND! java9 fails to resolve if the resource contains a 
leading slash
    * e.g.   /org/freevoice/jumpdbqueryextension/dbquerystrings.properties
    *      fails with 
    *        null
@@ -96,7 +96,7 @@
   public URL getResource(String name) {
     if (name.startsWith("/"))
       name = name.replaceAll("^/+", "");
-    return super.findResource(name);
+    return super.getResource(name);
   }
 
   /**


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to