[lworld] tools/javac/preview/PreviewAutoSuppress.java compiler.err.is.preview: preview.api.Outer fail

XMLWordPrintable

      ----------System.err:(43/2678)----------
      test: previewAPI
      [DIRECT]:
      Use.java:2:19: compiler.err.is.preview: preview.api.Outer
      Use.java:7:35: compiler.err.is.preview: preview.api.Outer
      Use.java:5:13: compiler.err.is.preview: preview.api.Outer
      3 errors
      [DIRECT]:
      Use.java:7:35: compiler.warn.is.preview: preview.api.Outer
      Use.java:5:13: compiler.warn.is.preview: preview.api.Outer
      2 warnings

      test: declarationWarning
      [DIRECT]:
      - compiler.warn.preview.feature.use.classfile: Record.class, 27
      Outer.java:3:5: compiler.warn.preview.feature.use.plural: (compiler.misc.feature.records)
      Outer.java:3:5: compiler.warn.preview.feature.use.plural: (compiler.misc.feature.records)
      3 warnings
      Exception running test declarationWarning: java.lang.Exception: expected output not found[- compiler.warn.preview.feature.use.classfile: Record.class, 27, Outer.java:3:5: compiler.warn.preview.feature.use.plural: (compiler.misc.feature.records), Outer.java:3:5: compiler.warn.preview.feature.use.plural: (compiler.misc.feature.records), 3 warnings]
      java.lang.Exception: expected output not found[- compiler.warn.preview.feature.use.classfile: Record.class, 27, Outer.java:3:5: compiler.warn.preview.feature.use.plural: (compiler.misc.feature.records), Outer.java:3:5: compiler.warn.preview.feature.use.plural: (compiler.misc.feature.records), 3 warnings]
      at PreviewAutoSuppress.declarationWarning(PreviewAutoSuppress.java:101)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at toolbox.TestRunner.runTests(TestRunner.java:91)
      at PreviewAutoSuppress.runTests(PreviewAutoSuppress.java:61)
      at PreviewAutoSuppress.main(PreviewAutoSuppress.java:57)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
      at java.base/java.lang.Thread.run(Thread.java:1516)

      2 tests, 1 errors
      java.lang.Exception: 1 errors found
      at toolbox.TestRunner.runTests(TestRunner.java:119)
      at PreviewAutoSuppress.runTests(PreviewAutoSuppress.java:61)
      at PreviewAutoSuppress.main(PreviewAutoSuppress.java:57)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
      at java.base/java.lang.Thread.run(Thread.java:1516)

      Fails locally every time since lworld commit: 3c41c2aa442076827cb4480373a1d481e481cdf1

            Assignee:
            Jan Lahoda
            Reporter:
            David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: