eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

JavaLeakTest#testNewJavaProjectWizard failed

Open
#2,455 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
59
Forks
127
Avg merge
23h 30m
Merged PRs (30d)
35

Description

I20250827-1800

ep437I-unit-linux-x86_64-java24
linux.gtk.x86_64
24

org.eclipse.jdt.ui.tests.leaks.JavaLeakTest
testNewJavaProjectWizard

```
Cannot access 'private java.lang.constant.ClassDesc java.lang.classfile.TypeKind.upperBound' in package 'java.lang.classfile'. JVM settings for --add-modules, --add-opens, and --illegal-access are probably missing. see 'javavmargs' in test.xml

java.lang.RuntimeException: Cannot access 'private java.lang.constant.ClassDesc java.lang.classfile.TypeKind.upperBound' in package 'java.lang.classfile'. JVM settings for --add-modules, --add-opens, and --illegal-access are probably missing. see 'javavmargs' in test.xml
at org.eclipse.jdt.ui.leaktest.reftracker.ReferenceTracker.followFieldReference(ReferenceTracker.java:77)
at org.eclipse.jdt.ui.leaktest.reftracker.ReferenceTracker.visit(ReferenceTracker.java:149)
at org.eclipse.jdt.ui.leaktest.reftracker.ReferenceTracker.start(ReferenceTracker.java:173)
at org.eclipse.jdt.ui.leaktest.LeakTestCase.collect(LeakTestCase.java:62)
at org.eclipse.jdt.ui.leaktest.LeakTestCase.collect(LeakTestCase.java:56)
at org.eclipse.jdt.ui.leaktest.LeakTestCase.assertInstanceCount(LeakTestCase.java:127)
at org.eclipse.jdt.ui.tests.leaks.JavaLeakTest.testNewJavaProjectWizard(JavaLeakTest.java:407)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
```

Contributor guide

Open the contributing guide

Research direction

Start with the javavmargs settings in test.xml, then inspect ReferenceTracker.followFieldReference and JavaLeakTest.testNewJavaProjectWizard at the reported locations. Re-run the leak test on Java 24 and confirm it completes without the module-access exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.