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

tools/javac/importscope/NegativeCyclicDependencyTest.java failed with "UnknownFormatConversionException: Conversion = 'r'"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: External
    • Affects Version/s: 16
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x_10.15

      Description

      The following test failed in the JDK16 CI:

      tools/javac/importscope/NegativeCyclicDependencyTest.java

      Here's a snippet from the log file:

      ----------System.err:(37/1792)----------
      Test case failed.
      package pkg;
      import pkg.B.InnerB;
      class A implements InnerB {
          static interface InnerA {}
      }

      Test case failed.
      package pkg;
      import pkg.B.InnerB;
      class A implements InnerB {
          static interface InnerA {}
      }

      java.util.UnknownFormatConversionException: Conversion = 'r'
      at java.base/java.util.Formatter$FormatSpecifier.conversion(Formatter.java:2839)
      at java.base/java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2865)
      at java.base/java.util.Formatter.parse(Formatter.java:2713)
      at java.base/java.util.Formatter.format(Formatter.java:2655)
      at java.base/java.util.Formatter.format(Formatter.java:2609)
      at java.base/java.lang.String.format(String.java:3296)
      at NegativeCyclicDependencyTest.printf(NegativeCyclicDependencyTest.java:270)
      at NegativeCyclicDependencyTest.echo(NegativeCyclicDependencyTest.java:266)
      at NegativeCyclicDependencyTest.echo(NegativeCyclicDependencyTest.java:262)
      at NegativeCyclicDependencyTest.reportFailure(NegativeCyclicDependencyTest.java:140)
      at NegativeCyclicDependencyTest.test(NegativeCyclicDependencyTest.java:124)
      at NegativeCyclicDependencyTest.main(NegativeCyclicDependencyTest.java:107)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.util.UnknownFormatConversionException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.util.UnknownFormatConversionException: Conversion = 'r'

      Starting this bug as a P2 since this is a Tier1 test failure.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dcubed Daniel Daugherty
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: