You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Michael Bien (Jira)" <ji...@apache.org> on 2022/01/17 22:40:00 UTC
[jira] [Commented] (NETBEANS-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17477467#comment-17477467 ]
Michael Bien commented on NETBEANS-5292:
----------------------------------------
> 3) to be added even new feature to reset all Hints to default
removing this folder will reset the hint config
~/.netbeans/12.6/config/Preferences/org/netbeans/modules/java/hints
> 5) "Background scanning of projects..." is even running for minutes with nb-javac installed
this is going to happen every time the javac version changes. If nb-javac is installed its 17, if you turn it off and start on 11... it will have to reindex everything.
> To me it seems that nb-javac brings more issue than save
well. nb-javac is required if you run on old JDKs. If JDK 17 would be the baseline there would not be a need for it, at least until JDK 18+ is released.
the first rc of NB 13 should be available this week. It has many fixes in that area and an updated nb-javac based on JDK 17 installed by default.
> nb-javac is source of several issues
> ------------------------------------
>
> Key: NETBEANS-5292
> URL: https://issues.apache.org/jira/browse/NETBEANS-5292
> Project: NetBeans
> Issue Type: Bug
> Components: java - Compiler, java - Editor, java - Hints, platform - Action Items
> Affects Versions: 11.3, 12.2, 12.4
> Environment: Gradle 6.8.1
> Possibly any JDK version 11
> nb-javac installed
> Reporter: Netbeans User 2019
> Priority: Critical
> Labels: hints, nbjavac, nbjavac-impl.jar
>
> There are several issue reporting NullPointerException and in logs even several related to hints (In context of Tools > Options > Editor > Hints).
> So my suggestions are:
> 1) to be deactivated all hints and retested with and with and without nb-javac as seems that many issue like this is connected nb-javac, but It could be even possible that hints are not revised at all from start and even it is possible that could be ticked to run by import from prior version of Netbeans, but it could be unsupported in new version.
> 2) turn off of nb-javac does not fix issues like these, because it seems that that states is ignored and nb-javac is still somehow in use ... so only option is to uninstalled completely (so to see in notification request for installation) - so it has to be fixed that if it is inactivated should not be used
> 3) to be added even new feature to reset all Hints to default
> 4) seems that even some of such failure (even reported as race condition) that leads to cases that it is not finished indexing so particular classes are not index so even not visible by dialog to of types and in java editor is represented as errors and there is not way to removed that reds, because there are no way to tell to Apache Netbeans that such class is existing and it is correct.
> 5) "Background scanning of projects..." is even running for minutes with nb-javac installed
> Even if it is not done in minor version I would like to see it in major version fixed.
> To me it seems that nb-javac brings more issue than save
--
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