On 14/05/14 14:20, Daniel Fuchs wrote:
Hi Michael,
On 5/14/14 1:11 PM, Michael McMahon wrote:
On 14/05/14 11:39, Alan Bateman wrote:
On 14/05/2014 11:35, Michael McMahon wrote:
Okay. I just updated my jtreg and the test passes with the wildcard. I'm
not sure why
it was changed to use the wildcard, but there doesn't seem to be any
point in me changing it back.
I believe the issue is that you need to specify any of the library
classes that might be referred to at run time on the @build command
line - otherwise you risk getting a ClassNotFoundException depending
on whether that class got compiled (or not) by the tests that ran
before yours...
So .* is more reliable.
(that's my understanding - but I may be wrong)
No, I think that is correct. Katja explained this offline. Jtreg
isn't able to work out dependencies the same way that javac does.
So, you need to either explicitly list all sources to be built
or provide the wildcard. My change would have worked, but
given the above it's probably safer to stick with the wildcard.
Thanks,
Michael
-- daniel
Thanks,
Michael