netbeans
netbeans copied to clipboard
Incorrect method will recurse indifinitely hint
Apache NetBeans version
Apache NetBeans latest daily build
What happened
There is a hint detecting infinite recursion. It works poorly JDK19 language features. Namely with switch expressions and pattern matching.
How to reproduce
There are incorrect hints in the source https://github.com/enso-org/enso/blob/ea60cd5fab48d9f6b16923cea21620b97216a898/engine/runtime/src/main/java/org/enso/compiler/TreeToIr.java in methods:
translateExpressiontranslatePatternArgumentstranslatePattern
I am using a week old NetBeans sources with nb-javac that supports JDK 19 features.
Did this work correctly in an earlier version?
No / Don't know
Operating System
Linux
JDK
JDK11
Apache NetBeans packaging
Own source build
Anything else
I am using a NetBeans sources with nb-javac that supports JDK 19 features: dfe012cdd4a5a488d6f55e33bb7f2b47c08d7080
Are you willing to submit a pull request?
No
Code of Conduct
Yes