[jdk21u-dev] Integrated: 8327460: Compile tests with the same visibility rules as product code

Goetz Lindenmaier goetz at openjdk.org
Wed Jan 8 07:08:49 UTC 2025


On Fri, 3 Jan 2025 10:45:05 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I would like to backport this to keep the test suite close to head.
> This simplifies later backports.
> 
> I had to resolve some files.
> 
> test/jdk/java/foreign/critical/libCritical.c
> This was added by "8254693: Add Panama feature to pass heap segments to native code". Omitted.
> 
> patching file test/jdk/java/foreign/libLibraryLookup.c
> patching file test/jdk/java/foreign/libLookupTest.c
> test/jdk/java/foreign/libSafeAccess.c
> Resolved because "8310643: Misformatted copyright messages in FFM" is not in 21
> 
> patching file test/jdk/java/foreign/nested/libNested.c
> patching file test/jdk/java/foreign/shared.h
> Resolved because "8318175: AIX PPC64: Handle alignment of double in structs" is not in 21 
> 
> patching file test/jdk/java/foreign/stackwalk/libAsyncStackWalk.cpp
> Resolved because "8324799: Use correct extension for C++ test headers" is not in 21.
> 
> patching file test/jdk/java/foreign/stackwalk/libReentrantUpcalls.c
> patching file test/jdk/java/foreign/stackwalk/libStackWalk.c
> Resolved because "8310643: Misformatted copyright messages in FFM" is not in 21
> 
> test/lib/jdk/test/lib/thread/libVThreadPinner.c
> This was added by "8320707: Virtual thread test updates", which was backported to 21.
> But this file was dropped from the backport as it is not applicable to 21.
> 
> test/micro/org/openjdk/bench/java/lang/foreign/libCriticalCalls.c
> This was added by "8254693: Add Panama feature to pass heap segments to native code". Omitted.
> 
> Executed affected tests and micro benchmarks.

This pull request has now been integrated.

Changeset: 6514d380
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/6514d380d1de1368b7db091e592bdc3e076277f4
Stats:     293 lines in 37 files changed: 69 ins; 153 del; 71 mod

8327460: Compile tests with the same visibility rules as product code

Reviewed-by: mbaesken
Backport-of: cc9a8aba67f4e240c8de2d1ae15d1b80bfa446a0

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

PR: https://git.openjdk.org/jdk21u-dev/pull/1301


More information about the jdk-updates-dev mailing list