[jira] [Updated] (NETBEANS-5055) NetBeans 12.2 doesn't permit "permits" as identifier

2021-02-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-5055:
-
Labels: pull-request-available  (was: )

> NetBeans 12.2 doesn't permit "permits" as identifier
> 
>
> Key: NETBEANS-5055
> URL: https://issues.apache.org/jira/browse/NETBEANS-5055
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 12.2
>Reporter: Jeffrey Morlan
>Assignee: Akshay Gupta
>Priority: Blocker
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The following valid Java code fails to parse in 12.2-vc2:
> class MySemaphore {
> MySemaphore(int permits) {}
> }
> May be related to the "Sealed Classes" preview feature which uses a "permits" 
> pseudo-keyword, but it should still be allowed as a variable name (JDK 15 
> javac has no problem with it even with --enable-preview).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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] [Updated] (NETBEANS-5055) NetBeans 12.2 doesn't permit "permits" as identifier

2020-12-09 Thread Netbeans User 2019 (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Netbeans User 2019 updated NETBEANS-5055:
-
Priority: Blocker  (was: Major)

> NetBeans 12.2 doesn't permit "permits" as identifier
> 
>
> Key: NETBEANS-5055
> URL: https://issues.apache.org/jira/browse/NETBEANS-5055
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 12.2
>Reporter: Jeffrey Morlan
>Priority: Blocker
>
> The following valid Java code fails to parse in 12.2-vc2:
> class MySemaphore {
> MySemaphore(int permits) {}
> }
> May be related to the "Sealed Classes" preview feature which uses a "permits" 
> pseudo-keyword, but it should still be allowed as a variable name (JDK 15 
> javac has no problem with it even with --enable-preview).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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] [Updated] (NETBEANS-5055) NetBeans 12.2 doesn't permit "permits" as identifier

2020-11-23 Thread Jeffrey Morlan (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeffrey Morlan updated NETBEANS-5055:
-
Summary: NetBeans 12.2 doesn't permit "permits" as identifier  (was: 
NetBeans 12.2 doesn't permit "permits" as parameter name)

> NetBeans 12.2 doesn't permit "permits" as identifier
> 
>
> Key: NETBEANS-5055
> URL: https://issues.apache.org/jira/browse/NETBEANS-5055
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 12.2
>Reporter: Jeffrey Morlan
>Priority: Major
>
> The following valid Java code fails to parse in 12.2-vc2:
> class MySemaphore {
> MySemaphore(int permits) {}
> }
> May be related to the "Sealed Classes" preview feature which uses a "permits" 
> pseudo-keyword, but it should still be allowed as a variable name (JDK 15 
> javac has no problem with it even with --enable-preview).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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