RFR [9] 8152190: Move sun.misc.JarIndex and InvalidJarIndexException to an internal package

Chris Hegarty chris.hegarty at oracle.com
Mon Mar 21 05:53:42 UTC 2016

sun.misc.JarIndex, and its accompanying InvalidJarIndexException, are not
"Critical APIs", as defined by JEP 260, so they should be moved out of
sun.misc and placed into a more appropriate package where they can
be encapsulated.


Since the Exception type is only ever statically referenced where it is 
thrown, I’ve moved it to a static nested class of JarIndex, so as to 
keep the namespace cleaner.


More information about the core-libs-dev mailing list