NetBeans 12.6 Increases Support For Java 17 |
Written by Kay Ewbank | |||
Tuesday, 14 December 2021 | |||
Apache NetBeans 12.6 has been released with support for Java 17 including pattern matching for switch expressions and switch statements, along with faster remote debugging and a revised YAML parser. NetBeans is an IDE for Java SE, Java EE, PHP and JavaScript development with some Groovy and C/C++ support. It provides editors, wizards and templates, and is cross platform. This release of NetBeans builds on the experimental support for Java 17 that was included with NetBeans 12.5 to add support for pattern matching for switch expressions and switch statements. This improvement allows an expression to be tested against a number of patterns, each with a specific action, so that complex data-oriented queries can be expressed concisely and safely. Other improvements to Java support include prefix awareness for auto completion in records, and correct display of final variables in Java code completion for use in anonymous classes. The new release also updates its Gradle support to version 7.3 to be compatible with Java 17. Gradle projects should also now recognize Kotlin source directories. Groovy support has been improved with a new cached transformation ClassLoader, and the ability to avoid ClassLoader resource lookups. Groovy performance has also been enhanced when loading classes using FileSystems. A number of performance optimizations have been made to speed up remote debugging, and elsewhere the debugger will now Step and Continue if a breakpoint suspends at the wrong place after eval. The revised YAML parser also now offers error recovery. The previous implementation would catch and skip the scanner and parser exceptions. This implementation tries to split the yaml into segments around the problematic sections and tries to parse these sections individually. NetBeans 12.6 is available for download now. More InformationRelated ArticlesNetBeans 12.4 Adds Java 16 Support NetBeans Improves Java Support NetBeans Is A Top-Level Apache Project NetBeans 10 Improves JDK 11 Support But Drops C/C++ Update: Not Really Java 8 Launched With Supporting Line-Up Getting Started With NetBeans PHP - Local Projects
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |
|||
Last Updated ( Tuesday, 14 December 2021 ) |