Software 43176 Published by

The first release candidate for Apache NetBeans 26 has been released for testing, featuring numerous enhancements and corrections. The release encompasses updates for Gradle, Maven, Ant, Java, Swing Templates, OpenJDK hotspot tests, apidoc generation, renaming for permitted subclasses, and renaming for Java SE 25 for Tomcat, TomEE, and GlassFish. Furthermore, enhancements have been implemented in Java SE 25 for Tomcat, TomEE, and GlassFish, as well as in Java SE 11 for Jakarta EE 11.

The release encompasses corrections for the database properties directory, enhancements for port forwarding to OKE Pod, and the implementation of --also-make for run+debug as the default setting in Micronaut applications. The release also addresses issues with Java documentation, ensuring the use of the entire code body when creating a doc comment tree. The release additionally tackles performance scaling issues in the JS-embedder annotation scanner. The release encompasses enhancements for Java SE 25 applicable to Tomcat, TomEE, and GlassFish, as well as advancements for Jakarta EE 11.





The update encompasses a range of enhancements to the SemanticHighlighter, JsSemanticAnalyser, CSS, JS, versioning, editor, UI, platform, browser integration, language server protocol, LSP/Textmate, VSCode Extension, maintenance, and various other modifications. The update encompasses measures to prevent NPE in SemanticHighlighter, the integration of syntax coloring support for JavaScript vue files, the addition of support for container query length units, the resolution of issues related to the CSS revert property, and the facilitation of async generator methods. The update encompasses versioning, addresses bugs in the editor annotation options, modifies focus behavior upon closing the last editor in window mode, and facilitates the switching of previews for search results, refactoring, and bookmarks. The update encompasses code refinement and the management of nbres and nbresloc protocols within ImageUtilities. The update incorporates an adjustment to focus behavior, ensures a consistent dialog button order on MacOS, and introduces additional SVG icons. The update additionally resolves issues with the language server protocol, enabling the use of relative paths and class names as 'mainClass' settings in launch.json. The update incorporates enhancements to the LSP client.

Here is the announcement:

Apache NetBeans 26-rc1

What's Changed

Gradle

  • Fix sporadic CME in gradle JavaToolchainSupport by  @mbien in  #8226

Maven

  • Open up and make accessible Resolver Public APIs by  @cstamas in  #7777
  • Use mn:run for run/debug of Micronaut applications by  @sdedic in  #8291
  • Remove maven 2 output parsing, cleanup and some parsing fixes by  @mbien in  #8265
  • Update lucene from 9.12.0 to 9.12.1 by  @mbien in  #8377
  • Bump MavenVersionSettings fallback versions for NB26. by  @mbien in  #8414

Ant

  • Ant: fix GeneratedFilesHelper CRC cache by  @mbien in  #8190
  • Remove hardcoded background default for ant property values. by  @mbien in  #8371

Java

  • Stabilize MultiSourceRootProviderTest by  @mbien in  #8193
  • Do not remove the just-added annotation from the list of annotations. by  @lahodaj in  #8201
  • Fixing imports for static item completion. by  @lahodaj in  #8210
  • Improve Swing Templates by  @makiam in  #8234
  • Translate Diagnostic.Kind.NOTE to Security.HINT not WARNING by  @jglick in  #8163
  • Reapply "LSP: Speed up publish diagnostics on project scan." by  @dbalek in  #8206
  • Attempting to fix code completion after new HashMap<> by  @lahodaj in  #8237
  • If a ClassIndex ignores a root due to missing index, make sure the ClassIndex is rebuilt when the index is created. by  @lahodaj in  #8255
  • Account for possible Element instance changed when lazily computing d… by  @lahodaj in  #8242
  • [NETBEANS-8233] When creating a doc comment tree from a full body, avoid the spliting and merging of the body, and simply use the full body, so that the code generator sees the correct, unsplit, full body. by  @lahodaj in  #8245
  • Support for OpenJDK hotspot tests. by  @lahodaj in  #8260
  • Use pseudo module for apidoc generation and honor json parameter by  @ebarboni in  #8263
  • apidoc html compliance part 1 by  @ebarboni in  #8302
  • Support star expansion on classpath for source launcher by  @lahodaj in  #8289
  • apidoc html compliance part 2 by  @ebarboni in  #8322
  • apidoc html compliance part 3 + use xslt not style ant task by  @ebarboni in  #8335
  • Update nb-javac to jdk-24-ga. by  @dbalek in  #8355
  • Icon fix: Interface and Abstract class are not distinguished by  @eirikbakke in  #8362
  • Add System.Logger to logger hints and code generation; minor new features by  @errael in  #8253
  • No wait cursor on CSL navigator expand by  @lkishalmi in  #8274
  • CI: build javadoc on JDK 24 by  @mbien in  #8369
  • apidoc rewrite to jdk 23 layout (minimal) by  @ebarboni in  #8368
  • Fixing rename for permitted subclasses. by  @lahodaj in  #7977
  • fixing apidoc compliance post jdk23 part 1 by  @ebarboni in  #8393
  • Update embedded tomcat from 9.0.96 to 9.0.102 by  @mbien in  #8400
  • fixing apidoc compliance post jdk23 part 2 by  @ebarboni in  #8403
  • NPE in profiler during code scan on start and or opening existing (netbeans) project by  @homberghp in  #8389
  • Implement Preferences cache for java hints. by  @mbien in  #8418
  • Remove source level query from javadoc hint. by  @mbien in  #8417
  • Fix performance scaling problem in JS-embedder annotation scanner by  @mbien in  #8423

Groovy

  • GroovyParserTest: don't clear workdir while indexer is active by  @mbien in  #8191

PHP

  • [ GH-8286] Fix Go to Declaration for an enum method using an FQ name by  @NReib in  #8287
  • [GH 8334] PHP do not display override hint for constructors by  @NReib in  #8338
  • Fix incorrect unused constants [ GH-8244] by  @junichi11 in  #8250
  • [GH 8420] PHP Constructor code completion should not add [#Override] by  @NReib in  #8421

C/C++

  • Improving LSP client, not crashing cpplite.editor when ccls/clangd is not specified. by  @lahodaj in  #8372

Enterprise

  • Micronaut: Run in Continuous Mode should build/listen for changes in dependencies of the selected project by  @dbalek in  #8184
  • Add support for Java SE 25 for Tomcat, TomEE, and GlassFish by  @pepness in  #8208
  • Jakarta EE 11 Improvements by  @pepness in  #8219
  • Improve support for Jakarta EE 11 by  @pepness in  #8229
  • Fix database properties directory by  @petrovic-d in  #8222
  • Adding port forward to OKE Pod by  @jhorvath in  #8014
  • Micronaut applications use --also-make for run+debug by default by  @sdedic in  #8386

Web

Versioning

  • Persist size of git create and switch branch windows by  @mbien in  #8328
  • Update jgit from 7.0.0 to 7.2.0 by  @mbien in  #8383
  • Register icons for git stash and nb shelve actions by  @mbien in  #8373
  • Versioning: don't wait for indexer before refresh by  @mbien in  #8202

Editor

  • #8174: Bump ide/libs.tomljava by  @vieiro in  #8192
  • Code scanner and search should tolerate CoderMalfunctionErrors by  @mbien in  #8304
  • Fixes several bugs in the editor annotation options. by  @mbien in  #8231
  • Smaller bug fixes in the editor libraries by  @eirikbakke in  #8324
  • Adjust focus behavior when closing the last editor in a window mode by  @eirikbakke in  #8317
  • Enable switching preview for search results, refactoring and bookmarks by  @matthiasblaesing in  #8326

UI Changes

  • ImageUtilities code cleanup by  @mbien in  #8235
  • Handle both nbres and nbresloc protocols in ImageUtilities.loadImage(URI) by  @eirikbakke in  #8239
  • Avoid remaining trivial uses of new ImageIcon(Image), for HiDPI icons by  @eirikbakke in  #8109
  • Remove the Batik library by  @eirikbakke in  #8188
  • More work on centralizing icon loading to ImageUtilities by  @eirikbakke in  #8194
  • For SVG icons, prefer Icon.paintIcon over Graphics.drawImage by  @eirikbakke in  #8309
  • Use consistent dialog button order on MacOS by  @eirikbakke in  #8316
  • Show dragged tab images at full HiDPI resolution by  @eirikbakke in  #8310
  • Update FlatLaf from 3.5.2 to 3.6. by  @mbien in  #8415
  • Add 150 more SVG icons (April 2025 batch) by  @eirikbakke in  #8424

Platform

Language Server Protocol

  • Fix error when verifying JDK by  @petrovic-d in  #8270
  • Handle null mimepath in DAPBreakpointActionProvider by  @matthiasblaesing in  #8333
  • Permit relative paths and class names as 'mainClass' setting in launch.json. by  @lahodaj in  #8280
  • LSP/Textmate: Implement multiview support for generic/textmate based syntax support by  @matthiasblaesing in  #8080

VSCode Extension

Maintenance

  • Fix launcher extbin license name by  @mbien in  #8249
  • CI: JDK 24 ga, pin actions, enable dependabot again and minor updates by  @mbien in  #8339
  • Replace Boolean constructor usage. by  @mbien in  #8379
  • Replace Long constructor usage. by  @mbien in  #8381
  • Replace Character constructor usage. by  @mbien in  #8385
  • Update ASM from 9.7.1 to 9.8 by  @mbien in  #8378
  • Update guava from 33.2.1-jre to 33.4.6-jre by  @mbien in  #8376
  • Update commons libs, Freemarker and JNA by  @mbien in  #8382

Other Changes

  • Attempting to provide various improvements to the LSP client. by  @lahodaj in  #8342

New Contributors

Full Changelog 25...26-rc1

Release Apache NetBeans 26-rc1 · apache/netbeans