[jira] [Comment Edited] (NETBEANS-6285) Netbeans 12.6 seems no properly run on JDK 8

2021-12-21 Thread Emil Hevald (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17463032#comment-17463032
 ] 

Emil Hevald edited comment on NETBEANS-6285 at 12/21/21, 8:54 AM:
--

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. 

I would consider this a bug, and not an improvment. No?

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)


was (Author: JIRAUSER281833):
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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-6285) Netbeans 12.6 seems no properly run on JDK 8

2021-12-20 Thread Emil Hevald (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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