Index: vm/vmcore/src/kernel_classes/javasrc/java/lang/Package.java =================================================================== --- vm/vmcore/src/kernel_classes/javasrc/java/lang/Package.java (revision 420425) +++ vm/vmcore/src/kernel_classes/javasrc/java/lang/Package.java (working copy) @@ -272,33 +272,35 @@ } Attributes mainAttrs = manifest.getMainAttributes(); - Attributes pkgAttrs = manifest.getAttributes(name); - specTitle = (specTitle = pkgAttrs + Attributes pkgAttrs = manifest.getAttributes(name.replace('.', '/') + '/'); + boolean noEntry = pkgAttrs == null; + + specTitle = noEntry || (specTitle = pkgAttrs .getValue(Attributes.Name.SPECIFICATION_TITLE)) == null ? mainAttrs.getValue(Attributes.Name.SPECIFICATION_TITLE) : specTitle; - specVersion = (specVersion = pkgAttrs + specVersion = noEntry || (specVersion = pkgAttrs .getValue(Attributes.Name.SPECIFICATION_VERSION)) == null ? mainAttrs.getValue(Attributes.Name.SPECIFICATION_VERSION) : specVersion; - specVendor = (specVendor = pkgAttrs + specVendor = noEntry || (specVendor = pkgAttrs .getValue(Attributes.Name.SPECIFICATION_VENDOR)) == null ? mainAttrs.getValue(Attributes.Name.SPECIFICATION_VENDOR) : specVendor; - implTitle = (implTitle = pkgAttrs + implTitle = noEntry || (implTitle = pkgAttrs .getValue(Attributes.Name.IMPLEMENTATION_TITLE)) == null ? mainAttrs.getValue(Attributes.Name.IMPLEMENTATION_TITLE) : implTitle; - implVersion = (implVersion = pkgAttrs + implVersion = noEntry || (implVersion = pkgAttrs .getValue(Attributes.Name.IMPLEMENTATION_VERSION)) == null ? mainAttrs .getValue(Attributes.Name.IMPLEMENTATION_VERSION) : implVersion; - implVendor = (implVendor = pkgAttrs + implVendor = noEntry || (implVendor = pkgAttrs .getValue(Attributes.Name.IMPLEMENTATION_VENDOR)) == null ? mainAttrs.getValue(Attributes.Name.IMPLEMENTATION_VENDOR) : implVendor; - String sealed = (sealed = pkgAttrs + String sealed = noEntry || (sealed = pkgAttrs .getValue(Attributes.Name.SEALED)) == null ? mainAttrs .getValue(Attributes.Name.SEALED) : sealed; sealBase = Boolean.valueOf(sealed).booleanValue() ? sealURL