Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8368081

[lworld] tools/javac/processing/model/element/TestValueClasses.java `failing at line 8`

XMLWordPrintable

      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)

            vromero Vicente Arturo Romero Zaldivar
            dsimms David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: