RFR(S): 8043529: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
Jaroslav Bachorik
jaroslav.bachorik at oracle.com
Thu May 22 07:37:06 UTC 2014
Hi Katja,
On 05/22/2014 09:22 AM, Yekaterina Kantserova wrote:
> Hi,
>
> Could I please have a review of this fix.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8043529
> Webrev: http://cr.openjdk.java.net/~ykantser/8043529/webrev.00/
Just a few small issues -
* test/com/sun/jdi/ExclusiveBind.java L30 is superfluous; it duplicates
the build section of the previous line
* test/java/io/BufferedInputStream/LargeCopyWithMark.java L29 has wrong
indentation (extra leading space)
* test/java/lang/invoke/MethodHandles/CatchExceptionTest.java L40 -
wrong indentation (extra leading space)
* test/sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java L31
- wrong indentation (extra leading space)
The rest is fine.
Cheers,
-JB-
>
> When using @library in a JTreg test even @build need to be specify for
> all library files used by the test. If @build is not specified it can
> lead to intermittent failures when running tests concurrently, since
> javac implicit compilation and @library and -concurrency don't play well
> together.
>
> This is a combine backport of
> https://bugs.openjdk.java.net/browse/JDK-8034960 and
> https://bugs.openjdk.java.net/browse/JDK-8043520. Both changes have been
> reviewed and approved.
>
>
> Thanks,
> Katja
>
More information about the jdk8u-dev
mailing list