Showing the changes to java (2 of 2 files). Show all
Unified · Split
Binary file not shown.
| @@ -205,6 +205,13 @@ class TargetLoader extends ClassLoader · 204 unmodified lines | |||
| 205 | return( findSystemClass( name ) ); | 205 | return( findSystemClass( name ) ); |
| 206 | } | 206 | } |
| 207 | 207 | ||
| 208 | if ( name.startsWith("java/") ) | ||
| 209 | { | ||
| 210 | System.out.println( "Warning: we can't load " + name + " due to java security policy" ); | ||
| 211 | System.out.println( "Warning: we will use the system (already loaded) class instead" ); | ||
| 212 | return( findSystemClass( name.replaceAll("/", ".") ) ); | ||
| 213 | } | ||
| 214 | |||
| 208 | // otherwise do our one time load from a disk file | 215 | // otherwise do our one time load from a disk file |
| 209 | 216 | ||
| 210 | // read from the current directory the file "name".java | 217 | // read from the current directory the file "name".java |