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.

netbeans

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. 

netbeans

More Information

Apache NetBeans

Related Articles

NetBeans 12.4 Adds Java 16 Support

NetBeans Improves Java Support

NetBeans Adds JDK 14 Support

NetBeans Is A Top-Level Apache Project

NetBeans 10 Improves JDK 11 Support But Drops C/C++ Update: Not Really

NetBeans 9 RC1 Ready to Go

New Tools In NetBeans IDE 8.1

NetBeans 8.1 beta 

Java 8 Launched With Supporting Line-Up

Getting Started With NetBeans PHP - Local Projects 

TypeScript On Netbeans

 

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.

Banner


GitHub Announces Free Copilot
19/12/2024

GitHub has launched GitHub Copilot Free, a free version of Copilot that provides limited access to selected features of Copilot and is automatically integrated into VS Code. The free tier is aimed at  [ ... ]



Copilot Improves Code Quality
27/11/2024

Findings from GitHub show that code authored with Copilot has increased functionality and improved readability, is of better quality, and receives higher approval rates than code authored without it.

 [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 14 December 2021 )