JDK-8166841 : Unused import causes test failure on compilation for java.text tests
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.text
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2016-09-28
  • Updated: 2016-10-07
  • Resolved: 2016-09-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b139Fixed
Related Reports
Relates :  
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.