JDK-8148859 : Fix module dependences for java/time tests
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.time
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-02-02
  • Updated: 2016-09-15
  • Resolved: 2016-09-06
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 b136Fixed
Related Reports
Blocks :  
Relates :  
Description
Presently, all the tests in java/time inherit all dependencies from the test library by declaring the library with the lib.dirs property:
java/time/TEST.properties:lib.dirs = ../../lib/testlibrary

The lib.dirs property is compiling the directories recursively, hence all dependencies of the test library and all the sub-directories in it are inherited.

Possibly, a fix in JTReg is also required to allow compilation of selected subdirectories.

Comments
fyi, Its on my list to switch from testlibrary to test/jdk/lib/classes; but that may not change the basic problem.
02-02-2016