- Loading...
...
public modifier to an API element guarantees that the element will be everywhere accessible, or ClassLoader::getResource* and Class::getResource* methods to read JDK-internal resources, orjava.lang.reflect.AccessibleObject::setAccessible method to gain access to members of packages that are not exported by their defining modules, orExisting code that invokes ClassLoader::getSystemClassLoader and blindly casts the result to URLClassLoader, or does the same thing with the parent of that class loader, might not work correctly.
Existing custom class loaders that delegate directly to the bootstrap class loader might not work correctly; they should be updated to delegate to the extension class loader.
The five-parameter transform method declared in thejava.lang.instrument.ClassFileTransformer interface is now a default method.
Existing code that scans for META-INF/services resource files previously found in rt.jar and other internal artifacts which are not present in the corresponding system modules files might not work correctly.
The JDK-specific system property file.encoding can be set on the command line via the -D option, as before, but it will only work when it specifies a charset defined in the base module. Existing launch scripts that specify other charsets might not work correctly.
...