-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
9
-
None
As reported here: http://java9.wtf/default-package/
Prior to 9, this method would return null for a class in the unnamed package. As of 9, it returns a Package object. This is an incompatible and undocumented change.
Prior to 9, this method would return null for a class in the unnamed package. As of 9, it returns a Package object. This is an incompatible and undocumented change.
- relates to
-
JDK-4841786 (cl) flaw in ClassLoader getPackage/definePackage API
-
- Closed
-
-
JDK-4302406 Package sealing and creation of java.lang.Package objects is inconsistent.
-
- Closed
-
-
JDK-4302423 class loaders should support "local" creation of Package objects
-
- Closed
-