RFR - 8132734: java.util.jar.* changes to support multi-release jar files

Alan Bateman Alan.Bateman at oracle.com
Wed Oct 14 19:04:05 UTC 2015


On 14/10/2015 17:28, Steve Drach wrote:
> The current test directory contains binary jar files. In fact in all the test directories, there are 52 binary .jar files.
I know but we need to work to remove those.


>   I added three more.  I thought about generating the jar files but the problem I run into is that there are two test classes that use the same files and creating the files twice seemed to be a bit wasteful.  I couldn’t figure out a reliable way to have one test class create the files and the other one just use the files.
I'm not aware of anything in jtreg that would give you the 
@BeforeSuite-like support. One could use file locks to have it be setup 
in one place but it's probably more trouble that it is worth. How 
expensive is it to create them?

-Alan



More information about the core-libs-dev mailing list