-
Notifications
You must be signed in to change notification settings - Fork 901
Closed
Labels
Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)kind:bugBug report or fixBug report or fixtests
Description
Apache NetBeans version
Apache NetBeans latest daily build
What happened
Anticipating for future jdk versions.
SequencedSet is introduced in Java 21.
The test UseSuperTypeTest#test230345 fails because the direct super type of LinkedHashSet is SequencedCollection.
This fails the test.
Language / Project Type / NetBeans Component
java refactoring
How to reproduce
on netbeans project.
Set you jdk to 21
Run the test class .../java/refactoring.java/test/unit/src/org/netbeans/modules/refactoring/java/test/UseSuperTypeTest.java
and see test230345() fail with
Did this work correctly in an earlier version?
No / Don't know
Operating System
ubuntu 24.04
JDK
21
Apache NetBeans packaging
Apache NetBeans binary zip, Own source build
Anything else
This only hits netbeans developers, as this test will fail only when applying unit testing
in the java.refactoring module.
Are you willing to submit a pull request?
Yes
Metadata
Metadata
Assignees
Labels
Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)kind:bugBug report or fixBug report or fixtests