-
Bug
-
Resolution: Fixed
-
P3
-
21
-
b15
IncludeLocalesPlugin reads all resources in jdk.localedata module as .class which is a bug. It happens to work because ASM ClassReader does very minimal validation and does not throw an exception for example reading /jdk.localedata/sun/text/resources/ext/LineBreakIteratorData_th.
This is uncovered when IncludeLocalesPlugin is converted to use the new ClassFile API.
The plugin should transform only .class that implement LocaleDataMetaInfo
Or specific entries:
jdk.localedata/sun/util/resources/cldr/provider/CLDRLocaleDataMetaInfo.class
jdk.localedata/sun/util/resources/provider/NonBaseLocaleDataMetaInfo.class
This is uncovered when IncludeLocalesPlugin is converted to use the new ClassFile API.
The plugin should transform only .class that implement LocaleDataMetaInfo
Or specific entries:
jdk.localedata/sun/util/resources/cldr/provider/CLDRLocaleDataMetaInfo.class
jdk.localedata/sun/util/resources/provider/NonBaseLocaleDataMetaInfo.class
- blocks
-
JDK-8294972 Convert jdk.jlink internal plugins to use the Classfile API
-
- Resolved
-