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

Unused import causes test failure on compilation for java.text tests

XMLWordPrintable

    • b139
    • generic
    • generic

      test/java/text/Format/NumberFormat/DFSSerialization.java
      test/java/text/Format/NumberFormat/SerializationLoadTest.java

      The tests declare import of java.awt.*.
      If we are using javac option "--limit-modules java.base" the tests failing on compilation. The import is not required by tests logic.

            skovalev Sergei Kovalev (Inactive)
            skovalev Sergei Kovalev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: