-
Notifications
You must be signed in to change notification settings - Fork 229
Open
Description
TWS stable offline version 10.37.1m released today targets no longer JDK 8 but 17:
class file has wrong version 61.0, should be 52.0
I use now
<javac srcdir="${src}" destdir="${target}/classes" release="17" includeantruntime="false">
together with
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
There is another deprecation warning
IBC/src/ibcalpha/ibc/CommandDispatcher.java:31: warning: [deprecation] getMenuShortcutKeyMask() in Toolkit has been deprecated [javac] private final static int SHORTCUT_MODIFIERS = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask() | KeyEvent.ALT_DOWN_MASK;
which I replaced with
private static final int SHORTCUT_MODIFIERS = Toolkit.getDefaultToolkit().getMenuShortcutKeyMaskEx() | KeyEvent.ALT_DOWN_MASK;
Metadata
Metadata
Assignees
Labels
No labels