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

Michal Rama edited comment on NETBEANS-1654 at 11/20/18 10:25 PM:
------------------------------------------------------------------

I have to admit that I made the conclusion from the first impression. The error 
is no longer so intense.

When using Java (JDK 12), you will see:
{code:java}
WARNING 
[org.netbeans.modules.java.j2seplatform.platformdefinition.J2SEPlatformDefaultJavadocImpl]:
 unrecognized Java spec version: 12{code}
If you use a different version of JDK for a project, only the number at the end 
of the error will change.

When using JavaFX (JDK 10), you will see:
{code:java}
WARNING [org.openide.filesystems.Ordering]: Not all children in / marked with 
the position attribute: 
[org-netbeans-modules-lsp-client-bindings-CompletionProviderImpl.instance], but 
some are: 
[org-netbeans-modules-parsing-ui-WaitScanFinishedCompletionProvider.instance, 
org-netbeans-modules-editor-java-JavaCompletionProvider.instance, 
org-netbeans-modules-jshell-editor-HistoryCompletionProvider.instance, 
org-netbeans-modules-java-editor-javadoc-JavadocCompletionProvider.instance, 
org-netbeans-lib-editor-codetemplates-CodeTemplateCompletionProvider.instance, 
org-netbeans-modules-j2ee-persistence-editor-completion-JPACodeCompletionProvider.instance,
 org-netbeans-modules-spellchecker-completion-WordCompletion.instance]
WARNING [org.openide.filesystems.Ordering]: Not all children in / marked with 
the position attribute: 
[org-netbeans-modules-lsp-client-bindings-HyperlinkProviderImpl.instance], but 
some are: [JavaHyperlinkProvider.instance, 
org.netbeans.modules.j2ee.persistence.editor.hyperlink.NamedQueryHyperlinkProvider.instance,
 HyperlinkProviderImpl.instance, 
org-netbeans-modules-editor-url-HyperlinkImpl.instance]{code}
While it may not look like, errors are related because they occur at the same 
time (after running the program).

I think there is a bug somewhere on the JDK 12 side that causes a problem with 
both Java and JavaFX (although each one generates another error code)

*ONLY MY THEORY*

I can only repeat the error after running the program, which always generates 
the code above.

Summary: I would be grateful for the bug fixes listed above, as this would 
solve this issue.

Thank you


was (Author: michal_cat):
The only code to add to the log is:
{code:java}
WARNING 
[org.netbeans.modules.java.j2seplatform.platformdefinition.J2SEPlatformDefaultJavadocImpl]:
 unrecognized Java spec version: 12{code}
I have to admit that I made the conclusion from the first impression. The error 
is no longer so intense.
 Honestly, I can only repeat the error after running the program, which always 
generates the code above.

 

> Slow Code Completion Detected under JDK 12
> ------------------------------------------
>
>                 Key: NETBEANS-1654
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1654
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Completion & Templates
>    Affects Versions: 10.0
>         Environment: Windows 10, Incubator NetBeans Linux 918, Java 12 
> Early-Access 19
>            Reporter: Michal Rama
>            Priority: Major
>              Labels: editor
>         Attachments: picture1.png
>
>
> Hello,
> When I start writing code or press CTRL + SPACE, it starts searching the 
> libraries and then offers me the possibility of writing/completing the code.
> Sometimes, however, it is (much) longer. NetBeans then offers the possibility 
> of writing / completing the code, but it also displays the notification.
> !picture1.png!
> The three notifications captured in the image showed it within a very short 
> time.
> Additionally, the first took 11 seconds, the second took 6 seconds and the 
> third took an incredible 36 seconds.
> This bug does not block me and the notification can be deleted, but it slows 
> down enough.
> I would be grateful for the repair.
> Thank you.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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

Reply via email to