You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "John Neffenger (Jira)" <ji...@apache.org> on 2019/10/12 20:49:00 UTC
[jira] [Commented] (NETBEANS-236) Incorrect brace spacing in
try-with-resources
[ https://issues.apache.org/jira/browse/NETBEANS-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16950125#comment-16950125 ]
John Neffenger commented on NETBEANS-236:
-----------------------------------------
I confirm that this problem occurs on NetBeans version 11.2-beta2 only when the _nb-javac_ plugin is *not* installed. It is a problem for me because I uninstalled the _nb-javac_ plugin due to NETBEANS-2290, "OnePassCompileWorker AssertionError followed by MultiPassCompileWorker NullPointerException."
Is it still a bug if the problem occurs when using the Java compiler in the JDK, in this case OpenJDK version 13?
> Incorrect brace spacing in try-with-resources
> ---------------------------------------------
>
> Key: NETBEANS-236
> URL: https://issues.apache.org/jira/browse/NETBEANS-236
> Project: NetBeans
> Issue Type: Bug
> Components: editor - Formatting & Indentation
> Affects Versions: 8.2, 11.2
> Reporter: Gili
> Assignee: Gili
> Priority: Minor
> Attachments: defaults.zip
>
>
> Given:
> {{try (Session session = scope.getSession())}}
> Invoking code-format results in:
> {{try ( Session session = scope.getSession())}}
> in spite of the fact that the IDE is configured not to insert a space inside the parenthesis.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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