tools/javac/lambda/TestInvokeDynamic.java FAILED in JDK8 on linux-arm
- Dominant language
- HTML
- Stars
- 155
- Forks
- 346
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
**Failing Test Info**
Test Name: tools/javac/lambda/TestInvokeDynamic.java
Test Duration: 12.5 seconds
Machine it fails on: [test-docker-ubuntu2404-armv7-9](https://ci.adoptium.net/computer/test-docker-ubuntu2404-armv7-9)
Machines it passes on (if intermittent): [test-docker-ubuntu2404-armv7-10](https://ci.adoptium.net/computer/test-docker-ubuntu2404-armv7-10)
**Jenkins Test Job Info**
Jenkins Test Job Name: Grinder (typically run in Test_openjdk8_hs_sanity.openjdk_arm_linux )
Jenkins Test Job URL: https://ci.adoptium.net/view/Test_grinder/job/Grinder/16101
TRSS link for the build (if available): None
**Deep History Link from TRSS (if available)**
None
** Rerun in Grinder Link (if available) or Steps to Reproduce**
Run a standard grinder for TestInvokeDynamic.java on JDK8 linux-arm.
**Java Version output (from console output)**
```
13:37:34 openjdk version "1.8.0_482-beta"
13:37:34 OpenJDK Runtime Environment (Temurin)(build 1.8.0_482-beta-202601242115-b08)
13:37:34 OpenJDK Client VM (Temurin)(build 25.482-b08, mixed mode)
```
**Relevant Console Output (showing exceptions/errors/crashes)**
```
14:26:55 STDERR:
14:26:55 java.lang.NullPointerException
14:26:55 at com.sun.tools.javac.file.Locations$LocationHandler.update(Locations.java:340)
14:26:55 at com.sun.tools.javac.file.Locations.lazy(Locations.java:712)
14:26:55 at com.sun.tools.javac.file.Locations.getHandler(Locations.java:702)
14:26:55 at com.sun.tools.javac.file.Locations.getLocation(Locations.java:677)
14:26:55 at com.sun.tools.javac.file.JavacFileManager.getLocation(JavacFileManager.java:803)
14:26:55 at com.sun.tools.javac.file.JavacFileManager.hasLocation(JavacFileManager.java:654)
14:26:55 at com.sun.tools.javac.processing.JavacProcessingEnvironment.initProcessorClassLoader(JavacProcessingEnvironment.java:219)
14:26:55 at com.sun.tools.javac.processing.JavacProcessingEnvironment.(JavacProcessingEnvironment.java:195)
14:26:55 at com.sun.tools.javac.processing.JavacProcessingEnvironment.instance(JavacProcessingEnvironment.java:161)
14:26:55 at com.sun.tools.javac.main.JavaCompiler.initProcessAnnotations(JavaCompiler.java:1048)
14:26:55 at com.sun.tools.javac.api.JavacTaskImpl.prepareCompiler(JavacTaskImpl.java:171)
14:26:55 at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:276)
14:26:55 at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:359)
14:26:55 at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:419)
14:26:55 at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:404)
14:26:55 at TestInvokeDynamic.run(TestInvokeDynamic.java:249)
14:26:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
14:26:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
14:26:55 at java.lang.Thread.run(Thread.java:750)
```
**Attach or link to relevant artifacts**
[TestInvokeDynamic.jtr.xml](https://github.com/user-attachments/files/25130503/TestInvokeDynamic.jtr.xml)
Contributor guide
Research direction
Start by rerunning TestInvokeDynamic.java with a standard Grinder job on JDK8 linux-arm and review TestInvokeDynamic.java at line 249. Trace the NullPointerException through Locations.java and JavacFileManager.java using the provided console output and artifact. Done means the test no longer fails on the reported ARM machine.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100