Hi, Am Samstag, dem 15.01.2022 um 06:03 +0100 schrieb Jaroslav Tulach: > > I am changing the title to discuss usage of JDK internals. > > > 1. Question I: "sun.awt/sun.swing" classes. > > I suggest to avoid using the JDK internals as much as possible. E.g. > > > B) comment/remove this jdk-internal specific features in NetBeans? > > I'd encouraged you to rather create a pull request for OpenJDK project. > Small changes like https://github.com/openjdk/jdk/pull/3939 have a chance > to be integrated. Then NetBeans could rely on proper API rather than > continue to hack around JDK limitations.
we already have the necessary "--add-opens" declarations in place AWT/Swing is not an area with a lot "lets just remove some classes" cases. The code from my perspective is mostly set in stone and so save to use. Trying to get fixes into the JDK is a noble goal, but not helpful here. We compile against JDK 11 and test on JDK 8, so newer API are just out. Until we acknowledge, that people have to use a recent JDK, we have to fix situations on our side. Greetings Matthias --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists