[jira] [Updated] (NETBEANS-2457) Error hint to fix the '--enable-preview' features in Java Application

2020-02-13 Thread Arunava Sinha (Jira)


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

Arunava Sinha updated NETBEANS-2457:

 Attachment: enable-preview.png
Description: 
!enable-preview.png! Suppose we had used switch-expression in Java application 
(JDK-12)

e.g.,

int a = switch (num)

{      case 1 ->1;     default->2; }

;

It will show the below error:

switch expressions are a preview feature and are disabled by default.
 (use --enable-preview to enable switch expressions)

 

NetBeans doesn't provide the fix.

Currently manually need to add '--enable-preview" in build configuration file .

  was:
Suppose we had used switch-expression in Java application (JDK-12)

e.g.,

int a = switch (num)

{      case 1 ->1;     default->2; }

;

It will show the below error:

switch expressions are a preview feature and are disabled by default.
 (use --enable-preview to enable switch expressions)

 

NetBeans doesn't provide the fix.

Currently manually need to add '--enable-preview" in build configuration file .


> Error hint to fix the '--enable-preview' features in  Java Application
> --
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
> Attachments: enable-preview.png, plugin-addition-in-pom.png, 
> run-config-changes.png
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> !enable-preview.png! Suppose we had used switch-expression in Java 
> application (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file 
> .



--
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-2457) Error hint to fix the '--enable-preview' features in Java Application

2020-02-13 Thread Arunava Sinha (Jira)


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

Arunava Sinha updated NETBEANS-2457:

Attachment: run-config-changes.png

!run-config-changes.png!

> Error hint to fix the '--enable-preview' features in  Java Application
> --
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
> Attachments: enable-preview.png, plugin-addition-in-pom.png, 
> run-config-changes.png
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Suppose we had used switch-expression in Java application (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file 
> .



--
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-2457) Error hint to fix the '--enable-preview' features in Java Application

2020-02-13 Thread Arunava Sinha (Jira)


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

Arunava Sinha updated NETBEANS-2457:

Attachment: plugin-addition-in-pom.png

!plugin-addition-in-pom.png!

> Error hint to fix the '--enable-preview' features in  Java Application
> --
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
> Attachments: plugin-addition-in-pom.png
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Suppose we had used switch-expression in Java application (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file 
> .



--
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-2457) Error hint to fix the '--enable-preview' features in Java Application

2019-07-08 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA updated NETBEANS-2457:

Description: 
Suppose we had used switch-expression in Java application (JDK-12)

e.g.,

int a = switch (num)

{      case 1 ->1;     default->2; }

;

It will show the below error:

switch expressions are a preview feature and are disabled by default.
 (use --enable-preview to enable switch expressions)

 

NetBeans doesn't provide the fix.

Currently manually need to add '--enable-preview" in build configuration file .

  was:
Suppose we had used switch-expression in Maven Java application (JDK-12)

e.g.,

int a = switch (num)

{      case 1 ->1;     default->2; }

;

It will show the below error:

switch expressions are a preview feature and are disabled by default.
 (use --enable-preview to enable switch expressions)

 

NetBeans doesn't provide the fix.

Currently manually need to add '--enable-preview" in build configuration file .


> Error hint to fix the '--enable-preview' features in  Java Application
> --
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Suppose we had used switch-expression in Java application (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file 
> .



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



[jira] [Updated] (NETBEANS-2457) Error hint to fix the '--enable-preview' features in Java Application

2019-07-08 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA updated NETBEANS-2457:

Summary: Error hint to fix the '--enable-preview' features in  Java 
Application  (was: Error hint to fix the '--enable-preview' features in  Maven 
Java Application)

> Error hint to fix the '--enable-preview' features in  Java Application
> --
>
> Key: NETBEANS-2457
> URL: https://issues.apache.org/jira/browse/NETBEANS-2457
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.1
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Suppose we had used switch-expression in Maven Java application (JDK-12)
> e.g.,
> int a = switch (num)
> {      case 1 ->1;     default->2; }
> ;
> It will show the below error:
> switch expressions are a preview feature and are disabled by default.
>  (use --enable-preview to enable switch expressions)
>  
> NetBeans doesn't provide the fix.
> Currently manually need to add '--enable-preview" in build configuration file 
> .



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