Michael Bien

Results 63 issues of Michael Bien

Back when I setup the paperwork job, I didn't know that gh can generate patch files yet. The problem was to figure out what commits are actually new in the...

CI

### Affected version 4.0.0-rc-3 (resolver 2.0.9) ### Bug description I use this issue to investigate the performance regression posted on the [dev list](https://www.mail-archive.com/[email protected]/msg135600.html). Github allows to embed pictures which makes...

bug
in-progress

originally intended to do something in the sense of https://github.com/apache/netbeans/pull/7677 and keep one module, but it turns out that more can be removed Remove `lib.jshell` and `lib.jshell9` modules - modules...

Code cleanup
Java
ci:dev-build

if the formatter is configured to sort members alphabetically, the hint should not rearrange record components. The fix reuses the existing special case for enums, which holds the enum "members"...

Java
hints
ci:dev-build

extracted from https://github.com/apache/netbeans/pull/8391 - return values must mimic Integer instances and their equals contracts - unit test used the wrong return value (int instead of Object) - added unit test...

Code cleanup
do not merge
Platform
UI
ci:all-tests

those test cases were very slow and inherited down to many other test classes (~10). this made running hint tests slow from within the IDE (can create the impression that...

Java
tests
hints

preparations to upgrade to nb-javac based on JDK 25 this is not meant to be integrated yet, the wrapped nb-javac is an experimental build which was backported to JDK 17...

Java
LSP
Upgrade Library
JavaDoc
ci:dev-build

By assuming that most code is used, we can focus on the scenario where an Element is used in a package local file and cache it. This avoids having to...

Java
performance
hints
ci:dev-build

codebase: - https://github.com/apache/netbeans/blob/3ebd6cb396842f212bd09011d689941884dd649d/ide/libs.lucene/external/binaries-list#L17 - https://github.com/search?q=repo%3Aapache%2Fnetbeans+org.netbeans.libs.lucene+language%3AXML&type=code&l=XML runtime: Lucene 3.x is making misc.Unsafe calls, this was resolved in 5.x. https://github.com/apache/lucene/issues/7301 ``` sun/misc/Unsafe#addressSize org.apache.lucene.util.Constants.(Line:79) sun/misc/Unsafe#arrayBaseOffset org.apache.lucene.util.RamUsageEstimator.(Line:210) sun/misc/Unsafe#arrayIndexScale org.apache.lucene.util.RamUsageEstimator.(Line:171) sun/misc/Unsafe#objectFieldOffset org.apache.lucene.util.RamUsageEstimator.(Line:191) ``` those warnings...

Upgrade Library
priority:high

https://openjdk.org/jeps/504 https://github.com/openjdk/jdk/pull/25698 looks like removal might happen in JDK 26. ### Committer - [x] I acknowledge that I am a maintainer/committer in the Apache NetBeans project.

Code cleanup
Java
Upgrade JDK