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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      b139
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: