|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (1)
View page history| h3. Coping with the Boot Class Path Some projects, such as [MethodHandles], require us to develop Java code and test cases under packages like {{java.dyn}}. Classes in packages under {{java}} cannot be loaded by the normal means of setting {{CLASSPATH}} or using the {{-cp}} flag. The JVM will throw an exception like this: |
| {noformat:title=what can happens when you develop in java.dyn} |
| $ java -cp "$mypath" java.dyn.MethodHandleBytecodeTest Exception in thread "main" java.lang.SecurityException: Prohibited package name: java.dyn |
... |