arusinha opened a new pull request #1487: [NETBEANS-3078]:Provided Error Hint 
to turn on Preview Features in An…
   …t Java projects
   Jira Link:
   Suppose we had used switch-expression in Java application (JDK-12)
   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)
   The proposed hint will add the needed JVM parameter in run/compiler 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

To unsubscribe, e-mail:
For additional commands, e-mail:

For further information about the NetBeans mailing lists, visit:

Reply via email to