Hi, > I was looking through the JAPI results for Swing and came across this > oddity: > > class javax.swing.plaf.basic.BasicInternalFrameTitlePane.TitlePaneLayout: > public in jdk14, but protected in classpath > > > Suns' javadoc says this: > > This inner class is marked "public" due to a compiler bug. This class > should be treated as a "protected" inner class. > > So, what should we do? > > For source compatibility we ought to mark these classes public and add > an @specnote to the javadoc.
That's the correct way IMO, and what we do in other cases too. /Roman _______________________________________________ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath