[
https://issues.apache.org/jira/browse/NETBEANS-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471112#comment-17471112
]
Thomas Schapitz commented on NETBEANS-6349:
-------------------------------------------
The next planned version would be 13, and that would appear some weeks in the
future from now. It's scheduled for February. It will state JDK 11 as
prerequisite.
There is no interim version (12.7) scheduled to be released, and it's rather
unlikely, that this is ever to happen.
In the mean time, you should do as Neil suggested above.
The problem mentioned in this issue would not occur with any JDK >= 9.
I'm already working with 17, if you are a bit more conservative, I'd recommend
11.
Maybe, just maybe, a fixed version of the module that caused this will be
distributed to the update center, but I'm not positive about if and when that
might happen. This might make it possible to use 12.6 on top of JDK 8, but it
might as well never happen. Please consider moving away from JDK 8, its already
EOL for public updates. Companies clinging to it put a considerable strain on
the community, and keep it from moving forward.
LTS Release JDK 11 is available since September 2018, so its definitely time to
start moving.
Moving to 17 would probably be the smarter move.
> Recent builds of the module responsible for java source parsing break BC to
> JDK 8
> ---------------------------------------------------------------------------------
>
> Key: NETBEANS-6349
> URL: https://issues.apache.org/jira/browse/NETBEANS-6349
> Project: NetBeans
> Issue Type: Bug
> Components: editor - Parsing & Indexing
> Affects Versions: 12.5, 12.6
> Reporter: Thomas Schapitz
> Assignee: Jaroslav Tulach
> Priority: Critical
> Fix For: 13
>
>
> There are 6 linked Issues, that all follow a common pattern, pointing to a
> common cause:
> * They are accompanied by an java.lang.NoSuchMethodError:
> java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
> * The users indicate, they are running NB 12.5+ with JDK8
> * The errors occur during parsing.
> Sure enough, JDK 8 hasn't
> java.nio.CharBuffer.flip()Ljava/nio/{*}+CharBuffer+{*},
> it has only java.nio.CharBuffer.flip()Ljava/nio/{+}*Buffer,*{+} which it
> inherits from Buffer.
> Which means: the Module in question has obviously been compiled against a
> library more recent then JDK8, at least JDK9, which has this method.
>
> Consequences:
> This and the 6 linked issues will automatically be fixed with the rollout of
> NB 13, which will require JDK 11 as prerequisite anyway.
> In the mean time, users may work around the problem, by immediately switching
> to JDK 9+ when executing Netbeans. Note that they should still be able to
> develop and build for JDKs 8 an prior.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
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