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

[lworld] test CantAnnotateScoping.java fails after merge, due to experimental code for anonymous value classes

XMLWordPrintable

      tools/javac/annotations/typeAnnotations/failures/CantAnnotateScoping.java fails after merge with
      jdk-23+26 and jdk-23+27

      ----------direct:(12/1399)----------
      CantAnnotateScoping.java:68:18: compiler.err.doesnt.exist: java.XXX
      CantAnnotateScoping.java:38:14: compiler.err.type.annotation.inadmissible: (compiler.misc.type.annotation.1: @TA), Test.Outer, @TA Test.Outer.SInner
      CantAnnotateScoping.java:51:18: compiler.err.type.annotation.inadmissible: (compiler.misc.type.annotation.1: @TA), java.lang, @TA java.lang.Object
      CantAnnotateScoping.java:60:37: compiler.err.type.annotation.inadmissible: (compiler.misc.type.annotation: @TA,@TA2), java.lang, @DTA @TA @TA2 java.lang.Object
      CantAnnotateScoping.java:40:14: compiler.err.type.annotation.inadmissible: (compiler.misc.type.annotation.1: @TA), Test.Outer, @TA Test.Outer.SInner
      CantAnnotateScoping.java:63:11: compiler.err.annotation.type.not.applicable.to.type: DA
      CantAnnotateScoping.java:68:11: compiler.err.annotation.type.not.applicable.to.type: DA
      CantAnnotateScoping.java:71:9: compiler.err.type.annotation.inadmissible: (compiler.misc.type.annotation.1: @TA), java.lang, @TA java.lang.Object
      CantAnnotateScoping.java:44:34: compiler.err.type.annotation.inadmissible: (compiler.misc.type.annotation: @TA,@TA2), Test.Outer, @TA @TA2 Test.Outer.SInner
      CantAnnotateScoping.java:48:38: compiler.err.type.annotation.inadmissible: (compiler.misc.type.annotation.1: @TA), Test.Outer, @TA Test.Outer.SInner
      CantAnnotateScoping.java:48:34: compiler.err.annotation.type.not.applicable.to.type: DA
      11 errors
      result: Failed. Output does not match reference file: CantAnnotateScoping.out, line 10


      test result: Failed. Output does not match reference file: CantAnnotateScoping.out, line 10

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

              Created:
              Updated:
              Resolved: