Skip to content

Commit d671584

Browse files
committed
Work through JDK test failures.
1 parent 13a44c3 commit d671584

File tree

6 files changed

+41
-2
lines changed

6 files changed

+41
-2
lines changed

test/jdk/ProblemList-enable-preview.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,8 @@
2727
#
2828
#############################################################################
2929

30-
30+
# Valhalla
31+
java/foreign/TestRestricted.java 8372744 generic-all
32+
java/lang/module/ModuleReader/ModuleReaderTest.java 8372744 generic-all
33+
java/foreign/sharedclosejvmti/TestSharedCloseJvmti.java 8372745 generic-all
34+
jdk/internal/misc/CDS/ArchivedEnumTest.java 8372743 generic-all

test/jdk/java/lang/reflect/AccessFlag/SuperAccessFlagTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* @test
2626
* @bug 8301720
2727
* @summary Test expected value of SUPER AccessFlag for pre-ValueClass .class file
28+
* @requires !java.enablePreview
2829
* @compile -source 20 -target 20 SuperAccessFlagTest.java
2930
* @comment Cannot use --release 20 because the accessFlags() method is
3031
* not found in release 20; therefore -source and -target are used instead.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#
2+
# Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
3+
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4+
#
5+
# This code is free software; you can redistribute it and/or modify it
6+
# under the terms of the GNU General Public License version 2 only, as
7+
# published by the Free Software Foundation.
8+
#
9+
# This code is distributed in the hope that it will be useful, but WITHOUT
10+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11+
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12+
# version 2 for more details (a copy is included in the LICENSE file that
13+
# accompanied this code).
14+
#
15+
# You should have received a copy of the GNU General Public License version
16+
# 2 along with this work; if not, write to the Free Software Foundation,
17+
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18+
#
19+
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20+
# or visit www.oracle.com if you need additional information or have any
21+
# questions.
22+
#
23+
24+
#############################################################################
25+
#
26+
# List of quarantined tests for testing with --enable-preview
27+
#
28+
#############################################################################
29+
30+
# Valhalla
31+
tools/javap/4870651/T4870651.java 8372740 generic-all

test/langtools/TEST.ROOT

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,5 @@ requires.extraPropDefns.vmOpts = \
4949
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
5050
requires.properties= \
5151
vm.continuations \
52-
vm.debug
52+
vm.debug \
53+
java.enablePreview

test/langtools/tools/javac/AnonymousClass/AnonymousClassFlags.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @bug 8161013
2727
* @summary Verify that anonymous class binaries have the correct flags set
2828
* @modules java.base/jdk.internal.misc
29+
* @requires !java.enablePreview
2930
* @run main AnonymousClassFlags
3031
*/
3132

test/langtools/tools/javap/T4975569.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @summary javap doesn't print new flag bits
2828
* @modules jdk.jdeps/com.sun.tools.javap
2929
* @modules java.base/jdk.internal.misc
30+
* @requires !java.enablePreview
3031
* @run main T4975569
3132
*/
3233

0 commit comments

Comments
 (0)