JDK-8368081 : [lworld] tools/javac/processing/model/element/TestValueClasses.java `failing at line 8`
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-09-19
  • Updated: 2025-09-28
  • Resolved: 2025-09-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaFixed
Related Reports
Relates :  
Description
After merging jdk-26+6 (probably JDK-8359493), fails with:

test: testValueClassesProcessor
[STDOUT]:
visiting <init>
visiting <init>
visiting <init>
visiting toString
visiting hashCode
visiting equals
[DIRECT]:
- compiler.note.proc.messager: visiting: Interface Modifiers: [abstract]
- compiler.note.proc.messager: visiting: ValueClass Modifiers: [value, final]
- compiler.note.proc.messager:     constructor modifiers: []
- compiler.note.proc.messager: visiting: IdentityClass Modifiers: []
- compiler.note.proc.messager:     constructor modifiers: []
- compiler.note.proc.messager: visiting: ValueRecord Modifiers: [value, final]
- compiler.note.proc.messager:     constructor modifiers: []
- compiler.note.preview.filename: DEFAULT
- compiler.note.preview.recompile
failing at line 8
    expecting - compiler.note.preview.filename: Interface.java, DEFAULT
    found - compiler.note.preview.filename: DEFAULT
Exception running test testValueClassesProcessor: java.lang.AssertionError: Unexpected output: [- compiler.note.proc.messager: visiting: Interface Modifiers: [abstract], - compiler.note.proc.messager: visiting: ValueClass Modifiers: [value, final], - compiler.note.proc.messager:     constructor modifiers: [], - compiler.note.proc.messager: visiting: IdentityClass Modifiers: [], - compiler.note.proc.messager:     constructor modifiers: [], - compiler.note.proc.messager: visiting: ValueRecord Modifiers: [value, final], - compiler.note.proc.messager:     constructor modifiers: [], - compiler.note.preview.filename: DEFAULT, - compiler.note.preview.recompile]
java.lang.AssertionError: Unexpected output: [- compiler.note.proc.messager: visiting: Interface Modifiers: [abstract], - compiler.note.proc.messager: visiting: ValueClass Modifiers: [value, final], - compiler.note.proc.messager:     constructor modifiers: [], - compiler.note.proc.messager: visiting: IdentityClass Modifiers: [], - compiler.note.proc.messager:     constructor modifiers: [], - compiler.note.proc.messager: visiting: ValueRecord Modifiers: [value, final], - compiler.note.proc.messager:     constructor modifiers: [], - compiler.note.preview.filename: DEFAULT, - compiler.note.preview.recompile]
	at TestValueClasses.testValueClassesProcessor(TestValueClasses.java:148)
Comments
A pull request was submitted for review. Branch: lworld URL: https://git.openjdk.org/valhalla/pull/1642 Date: 2025-09-28 01:13:44 +0000
28-09-2025