RFR : JDK-8009162: "make test" target change

Martin Buchholz martinrb at google.com
Tue Mar 5 12:58:23 PST 2013


On Tue, Mar 5, 2013 at 5:37 AM, Alan Bateman <Alan.Bateman at oracle.com>wrote:

>
>>
>> it make sense to default to the JDK image.


This introduces a new problem, where a developer will build and test, but
because the lazy developer did not build images, the wrong bits get tested.

Either fully support testing with non-images, or do not.
If non-images are fully supported, then tests should run against images by
default, but only if they have been built more recently than the classes/
dir.

If the shiny new build system is smart enough, it could efficiently check
whether images is up to date before testing with them, and so if requesting
testing with images, they will never be stale bits.


More information about the jdk8-dev mailing list