On 5/7/24 12:15, Neil C Smith wrote:
On Tue, 7 May 2024 at 11:11, Simon IJskes - QCG <si...@qcg.nl> wrote:

Err. it's in the javac.

Sorry. Please ignore.


The issue is likely in how NetBeans uses this code.  eg. see
https://github.com/apache/netbeans/issues/7331

Can you confirm if the project is using JPMS?

No it is without JPMS. No module-info.java in own sources, do i need to check the maven deps?

It is with:

Product Version: Apache NetBeans IDE 20
Java: 21.0.2; OpenJDK 64-Bit Server VM 21.0.2+13-Ubuntu-122.04.1
Runtime: OpenJDK Runtime Environment 21.0.2+13-Ubuntu-122.04.1
System: Linux version 5.15.0-105-generic running on amd64; UTF-8; en_US (nb)

I did clean the cache beforehand, and let NB scan the sources to completion without touching anything.

clean script:
rm -rf ~/.netbeans/*/var/cache/
rm -rf ~/.netbeans/*/var/log/
rm -rf ~/.cache/netbeans/

var/log/messages.log pointed to the offending class, and i managed to complete the class rename, bij changing the member definition to type Object, refactor with the pending errors caused by the Object type.

The only special thing a can see in the offending class, is that it contained a public inner class.


Gr. Simon



--
create firmware without programming https://www.bendyroad.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to