[jdk8u-dev] Integrated: 8329544: [8u] sun/security/krb5/auto/ReplayCacheTestProc.java cannot find the testlibrary

Ian Myers imyers at openjdk.org
Mon Apr 15 21:48:03 UTC 2024


On Tue, 2 Apr 2024 16:48:49 GMT, Ian Myers <imyers at openjdk.org> wrote:

> `sun/security/krb5/auto/ReplayCacheTestProc.java` fails on jdk8u-412 due to a compilation error. This is because the classpath is being set incorrectly by the `@library` annotation.
> 
> 
> TEST: sun/security/krb5/auto/ReplayCacheTestProc.java
> TEST JDK: /home/ianrichr/openjdk/jdk8u/build/linux-x86_64-normal-server-release/images/j2sdk-image
> 
> ACTION: compile -- Failed. Compilation failed: Compilation failed
> REASON: User specified action: run compile -XDignore.symbol.file ReplayCacheTestProc.java
> TIME:   0.752 seconds
> messages:
> command: compile -XDignore.symbol.file /local/home/ianrichr/openjdk/jdk8u/jdk/test/sun/security/krb5/auto/ReplayCacheTestProc.java
> reason: User specified action: run compile -XDignore.symbol.file ReplayCacheTestProc.java
> Mode: agentvm
> Agent id: 1
> elapsed time (seconds): 0.752
> configuration:
> Boot Layer (javac runtime environment)
>   class path: /home/ianrichr/openjdk/jdk8u/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar
>               /local/home/ianrichr/openjdk/jtreg/lib/javatest.jar
>               /local/home/ianrichr/openjdk/jtreg/lib/jtreg.jar
> 
> javac compilation environment
>   source path: /local/home/ianrichr/openjdk/jdk8u/jdk/test/sun/security/krb5/auto
>                /local/home/ianrichr/openjdk/jdk8u/jdk/test/java/security/testlibrary
>   class path:  /local/home/ianrichr/openjdk/jdk8u/jdk/test/sun/security/krb5/auto
>                /local/home/ianrichr/openjdk/jdk8u/build/linux-x86_64-normal-server-release/testoutput/jdk_adhoc/JTwork/classes/0/sun/security/krb5/auto
>                /home/ianrichr/openjdk/jdk8u/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar
> 
> rerun:
> cd /local/home/ianrichr/openjdk/jdk8u/build/linux-x86_64-normal-server-release/testoutput/jdk_adhoc/JTwork/scratch/0 && \
> HOME=/home/ianrichr \
> LANG=en_US.UTF-8 \
> PATH=/bin:/usr/bin:/usr/sbin \
>     /home/ianrichr/openjdk/jdk8u/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/javac \
>         -J-ea \
>         -J-esa \
>         -J-Xmx512m \
>         -J-Dtest.vm.opts='-ea -esa -Xmx512m' \
>         -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \
>         -J-Dtest.compiler.opts= \
>         -J-Dtest.java.opts= \
>         -J-Dtest.jdk=/home/ianrichr/openjdk/jdk8u/build/linux-x86_64-normal-server-release/images/j2sdk-image \
>         -J-Dcompile.jdk=/home/ianrichr/openjdk/jdk8u/build/linux-x86_64-normal-server-release/images/j2sdk-image \
>         -J-Dtest.timeout.factor=4.0 \
>         -J-Dtest.root=/local/home/ianrichr/openjdk/j...

This pull request has now been integrated.

Changeset: c6ba33ee
Author:    Ian Myers <imyers at openjdk.org>
Committer: Andrew John Hughes <andrew at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/c6ba33ee0016089917e1d1a4ef30c7d94399dc4d
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8329544: [8u] sun/security/krb5/auto/ReplayCacheTestProc.java cannot find the testlibrary

Reviewed-by: shade, andrew

-------------

PR: https://git.openjdk.org/jdk8u-dev/pull/478


More information about the jdk8u-dev mailing list