Am 09.10.2019 um 20:08 schrieb Siddhesh Rane:
October 9, 2019 10:21 AM, "Jaroslav Tulach" <[email protected]> wrote:

Looks like the deprecated

Class org.netbeans.modules.openfile.PackagePanel
"E1.2 - API type removed" : method public java.awt.peer.ComponentPeer

java.awt.Component.getPeer()
anno 0 java.lang.Deprecated()

method got removed. If that is true, we will have to update the `.sigfile`
(or files) and remove the line requesting the method.
-tj

So basically this method is removed in JDK 11 but not in JDK 8.
If I set the project Properties > Library > Java Platform to JDK 8, it should 
compile in the IDE as well.
However this does not happen. This seems to be a bug. Ant only compiles with 
the jdk it is run with, which
is JDK 11 inside the IDE and JDK 8 on command line, ignoring the project 
setting.
No. Ant is running inside the same JVM as the IDE. So Ant itself is using JDK11 and compiles against JDK8. There is (currently) no way to run Ant in a separate task other that run the command line.

Jens

--
http://blog.nigjo.de/netbeans
threema://add?id=3Y279Z3U

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to