[9] RFR: 8167240: Write new tests to cover functionality of existing 'jimage' options

Alan Bateman Alan.Bateman at oracle.com
Fri Oct 7 07:00:29 UTC 2016


On 07/10/2016 00:05, Denis Kononenko wrote:

> :
>
> Yes, they do. Overlapping occurs in very common use cases.
> However I wouldn't remove JImageToolTest, we need such a test to ensure:
> 1) bin/jimage exists;
> 2) bin/jimage properly communicates to jdk.tools.jimage.JImageTask;
>
> I think it could be simplified to an invocation of jimage --version.
>
Duplicate and overlapping tests are a pain when things are changing that 
require updates to the tests. So in this case then I think it would be 
very useful to go over the pre-existing tests to weed out some of the 
original tests that are obsoleted by the new tests.

-Alan


More information about the jigsaw-dev mailing list