Hi, netbeans-dev. Normally I build NetBeans from sources by just running the command "ant" from the root of the repo.
While making some improvements to the platform\openide.util.ui\ImageUtilities class, I concluded I need to use the java.awt.image.MultiResolutionImage class, which only became available in JDK 9. With a plain "ant" build I get a "cannot find symbol" error when referencing it. What build option do I need to set to build NetBeans on a newer Java version, and get access to the Java 9 APIs from the openide.util.ui module? My JAVA_HOME environment variable is already pointing at Java 11. (The specific use case here is to make SVG/HiDPI/Retina icons work in the main menu bar on MacOS, for my NetBeans Platform application. This requires use of the MultiResolutionImage class.) -- Eirik
