Code Review Request 7142596: RMI JPRT tests are failing

Alan Bateman Alan.Bateman at oracle.com
Wed Jul 11 08:10:35 UTC 2012


On 06/07/2012 19:47, Stuart Marks wrote:
> :
>
>
> *** LookupNameWithColon.java
>
>
> This test is missing an @run tag, thus it won't actually get run! 
> Since you've specified an @build tag, you have to specify a separate 
> @run tag to run the test. It's possible to deduce this with a careful 
> reading of the jtreg tag spec:
>
> http://openjdk.java.net/jtreg/tag-spec.txt
>
> (IMHO this is a terrible usability problem.) I've looked at the other 
> tests in this webrev for similar issues, and I didn't see any, but I 
> might have missed them.
Yes, very easy to make that mistake. As there only have a tiny @build 
only tests in the jdk repository then we should be able to automate 
finding these issues, the information is already in the report.

FYI, we fixed several of these a few months ago, see:

http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/6d934b1d9dd5

-Alan



More information about the core-libs-dev mailing list