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


Excel Spreadsheet - A Joke?
01/04/2024

No this isn't an April Fool's although in places it seems like one. It's a true account of how Williams Racing has suffered through reliance on an overgrown and outdated Microsoft Excel spreadsheet, l [ ... ]



Apache Updates Geronimo Arthur
28/03/2024

Apache Geronimo Arthur has been updated with support for Common-compress, XBean, and ensures the default options are compatible with last GraalVM release.


More News

raspberry pi books

 

Comments




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

Last Updated ( Tuesday, 14 December 2021 )