You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Emil Hevald (Jira)" <ji...@apache.org> on 2021/12/21 07:09:00 UTC
[jira] [Commented] (NETBEANS-6285) Netbeans 12.6 seems no properly run on JDK 8
[ https://issues.apache.org/jira/browse/NETBEANS-6285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17463032#comment-17463032 ]
Emil Hevald commented on NETBEANS-6285:
---------------------------------------
Same, or atleast similar, issue on Oracle JDK 1.8. Even though I don't get the class not found, I get quit a few NoSuchMethod for java.nio.CharBuffer.flip.
1.8.0_192; Java HotSpot(TM) 64-Bit Server VM 25.192-b12; Oracle Corporation
java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
at org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:516)
at org.netbeans.modules.java.source.parsing.FileObjects.memoryFileObject(FileObjects.java:490)
at org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:114)
at org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:107)
at org.netbeans.modules.java.ui.CategorySupport$2.run(CategorySupport.java:280)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> Netbeans 12.6 seems no properly run on JDK 8
> --------------------------------------------
>
> Key: NETBEANS-6285
> URL: https://issues.apache.org/jira/browse/NETBEANS-6285
> Project: NetBeans
> Issue Type: Improvement
> Components: java - Platform
> Affects Versions: 12.6
> Reporter: Jean-Marc Borer
> Priority: Major
> Attachments: messages.log
>
>
> After a fully fresh install of NB12.6 and trying to run on Azul Open JDK 312, there are several ClassNotFoundExceptions in the logs. It seems that NB looks for missing methods that makes NB not longer properly. For example, it is no longer possible to properly format Java sources files do to a java/nio/CharBuffer method missing.
> Is NB platform supposed to no longer work with Java 8?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists