RFR: JDK-8114828: wrong class file error when compiling tests

David Holmes david.holmes at oracle.com
Thu Jul 16 01:53:00 UTC 2015


Adding in hotspot-dev as there's a meta-question here

Hi Alexander,

On 16/07/2015 2:57 AM, Alexander Kulyakhtin wrote:
> Hi,
>
> Could you, please, review these simple test-only changes:
>
> CR: https://bugs.openjdk.java.net/browse/JDK-8114828 "wrong class file error when compiling tests"
> (All the changed files belong to the Open JDK. Since the CR was submitted as confidential, the issue is described in this mail below)
>
> Webrev: http://cr.openjdk.java.net/~akulyakh/8114828/index.html
>
> Before the change the @library tags in the tests  pointed to the directory above the tests repository.
> With the jtreg b12 and above this is not allowed. Instead, the external.lib.roots property should be used to specify any additional roots.
>
> The tests have been modified accordingly, so they now compile successfully.

We currently have 272 tests in hotspot/test that specify some variant of:

  @library /testlibrary /../../test/lib

Are these now all broken with jtreg b12?

Why do these serviceability tests specify:

test/lib/share/classes

when all the other tests just specify:

test/lib

?

Thanks,
David

> Best regards,
> Alexander
>


More information about the hotspot-dev mailing list