Compare commits

...

13 Commits

Author SHA1 Message Date
Vitaly Provodin
c358ede499 update exclude list on results of 21_b202.1 test runs 2023-08-18 05:06:11 +07:00
Vitaly Provodin
27bb9662b2 update exclude list on results of 21_b199.2 test runs 2023-08-12 06:58:24 +07:00
Daniel D. Daugherty
cd18df6c66 8314062: ProblemList jdk/jfr/tool/TestView.java on macosx-x64
Reviewed-by: naoto
2023-08-12 06:47:32 +07:00
Stefan Karlsson
0795b7e7e1 8311179: Generational ZGC: gc/z/TestSmallHeap.java failed with OutOfMemoryError
Reviewed-by: aboldtch, tschatzl
Backport-of: 28fd7a1739
2023-08-12 06:47:32 +07:00
Jim Laskey
04e3cc31e8 8313809: String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16
Reviewed-by: redestad
Backport-of: 6864441163
2023-08-12 06:47:32 +07:00
Jim Laskey
82f1a2ce4a 8312814: Compiler crash when template processor type is a captured wildcard
Reviewed-by: jjg, vromero
Backport-of: f14245b388
2023-08-12 06:47:31 +07:00
Tobias Hartmann
64c0d8c181 8313345: SuperWord fails due to CMove without matching Bool pack
Reviewed-by: chagedorn
Backport-of: d3b578f1c9
2023-08-12 06:47:31 +07:00
Jesper Wilhelmsson
33e83936c6 8312985: Remove EA from the JDK 21 version string with first RC promotion on August 10, 2023
Reviewed-by: mikael
2023-08-12 06:47:31 +07:00
Stefan Karlsson
c702e89c52 8313593: Generational ZGC: NMT assert when the heap fails to expand
Reviewed-by: eosterlund
Backport-of: 19e2c8c321
2023-08-12 06:47:31 +07:00
Nikita Tsarev
7159ccf83c JBR-5900: Fix deadlock when enabling the Wakefield extension 2023-08-10 12:47:58 +02:00
Nikita Tsarev
7971b98a99 JBR-5896: Fix WLToolkit being instantiated twice 2023-08-10 12:46:09 +02:00
Dmitrii Morskii
8907bf5479 JBR-5724: fixed serialization and backward compatibility of Font 2023-08-08 13:28:41 +02:00
Dmitry Batrak
c7cd32a03d JBR-5823 IDEA crashes when '-Dmain.thread.as.edt=true' vmoption is set and VoiceOver is enabled
done as part of JBR-4993 Support using 'main' thread as EDT on macOS

(cherry picked from commit 55598693c3)
(cherry picked from commit 2d8d56b5d61bd219b084fc50faea738f625be922)
2023-08-04 10:52:54 +03:00
17 changed files with 313 additions and 51 deletions

View File

@@ -39,4 +39,4 @@ DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_VERSION_DOCS_API_SINCE=11
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="20 21"
DEFAULT_JDK_SOURCE_TARGET_VERSION=21
DEFAULT_PROMOTED_VERSION_PRE=ea
DEFAULT_PROMOTED_VERSION_PRE=

View File

@@ -309,7 +309,9 @@ bool ZPhysicalMemoryManager::commit(ZPhysicalMemory& pmem) {
const size_t committed = _backing.commit(segment.start(), segment.size());
// Register with NMT
ZNMT::commit(segment.start(), committed);
if (committed > 0) {
ZNMT::commit(segment.start(), committed);
}
// Register committed segment
if (!pmem.commit_segment(i, committed)) {
@@ -335,7 +337,9 @@ bool ZPhysicalMemoryManager::uncommit(ZPhysicalMemory& pmem) {
const size_t uncommitted = _backing.uncommit(segment.start(), segment.size());
// Unregister with NMT
ZNMT::uncommit(segment.start(), uncommitted);
if (uncommitted > 0) {
ZNMT::uncommit(segment.start(), uncommitted);
}
// Deregister uncommitted segment
if (!pmem.uncommit_segment(i, uncommitted)) {

View File

@@ -2196,6 +2196,18 @@ bool SuperWord::profitable(Node_List* p) {
}
}
}
if (p0->is_CMove()) {
// Verify that CMove has a matching Bool pack
BoolNode* bol = p0->in(1)->as_Bool();
if (bol == nullptr || my_pack(bol) == nullptr) {
return false;
}
// Verify that Bool has a matching Cmp pack
CmpNode* cmp = bol->in(1)->as_Cmp();
if (cmp == nullptr || my_pack(cmp) == nullptr) {
return false;
}
}
return true;
}

View File

@@ -1107,10 +1107,9 @@ public final class StringConcatFactory {
MethodHandle mh = MethodHandles.dropArguments(newString(), 2, ttypes);
long initialLengthCoder = INITIAL_CODER;
String lastFragment = "";
pos = 0;
for (String fragment : fragments) {
lastFragment = fragment;
initialLengthCoder = JLA.stringConcatMix(initialLengthCoder, fragment);
if (ttypes.length <= pos) {
break;
@@ -1118,14 +1117,15 @@ public final class StringConcatFactory {
Class<?> ttype = ttypes[pos];
// (long,byte[],ttype) -> long
MethodHandle prepender = prepender(lastFragment.isEmpty() ? null : fragment, ttype);
initialLengthCoder = JLA.stringConcatMix(initialLengthCoder, fragment);
MethodHandle prepender = prepender(fragment.isEmpty() ? null : fragment, ttype);
// (byte[],long,ttypes...) -> String (unchanged)
mh = MethodHandles.filterArgumentsWithCombiner(mh, 1, prepender,1, 0, 2 + pos);
pos++;
}
String lastFragment = fragments.getLast();
initialLengthCoder -= lastFragment.length();
MethodHandle newArrayCombinator = lastFragment.isEmpty() ? newArray() :
newArrayWithSuffix(lastFragment);
// (long,ttypes...) -> String

View File

@@ -53,7 +53,7 @@ static jmethodID sjm_getAccessibleName = NULL;
[value release];
value = nil;
}
value = [CommonComponentAccessibility createWithAccessible:axSelectedChild withEnv:env withView:fView];
value = [[CommonComponentAccessibility createWithAccessible:axSelectedChild withEnv:env withView:fView] retain];
return value;
}

View File

@@ -1963,7 +1963,7 @@ public class Font implements java.io.Serializable
*
* @serial
*/
private int fontSerializedDataVersion = 1;
private int fontSerializedDataVersion = 2;
/**
* Writes default serializable fields to a stream.
@@ -2032,9 +2032,13 @@ public class Font implements java.io.Serializable
} catch (Throwable t) {
throw new IOException(t);
} finally {
fRequestedAttributes = null; // don't need it any more
fRequestedAttributes = null; // don't need it any more
}
}
if (features == null) {
features = new TreeMap<>();
}
}
}
/**

View File

@@ -131,7 +131,7 @@ public class WLGraphicsEnvironment extends SunGraphicsEnvironment {
}
// Skip notification during the initial configuration events
if (EventQueue.isDispatchThread()) {
if (WLToolkit.isInitialized()) {
displayChanged();
}
}

View File

@@ -133,12 +133,15 @@ public class WLToolkit extends UNIXToolkit implements Runnable {
private static final int MOUSE_BUTTONS_COUNT = 3;
private static final int AWT_MULTICLICK_DEFAULT_TIME_MS = 500;
private static boolean initialized = false;
private static native void initIDs();
static {
if (!GraphicsEnvironment.isHeadless()) {
initIDs();
}
initialized = true;
}
@SuppressWarnings("removal")
@@ -1005,4 +1008,8 @@ public class WLToolkit extends UNIXToolkit implements Runnable {
static void resetPointerInputState() {
inputState = inputState.resetPointerState();
}
static boolean isInitialized() {
return initialized;
}
}

View File

@@ -927,26 +927,6 @@ wl_display_poll(struct wl_display *display, int events, int poll_timeout)
return rc;
}
static void
dispatch_nondefault_queues(JNIEnv *env)
{
// The handlers of the events on these queues will be called from here, i.e. on
// the 'AWT-Wayland' (toolkit) thread. The handlers must *not* execute any
// arbitrary user code that can block.
int rc = 0;
#ifdef WAKEFIELD_ROBOT
if (robot_queue) {
rc = wl_display_dispatch_queue_pending(wl_display, robot_queue);
}
#endif
if (rc < 0) {
JNU_ThrowByName(env, "java/awt/AWTError", "Wayland error during events processing");
return;
}
}
int
wl_flush_to_server(JNIEnv *env)
{
@@ -985,21 +965,31 @@ JNIEXPORT void JNICALL
Java_sun_awt_wl_WLToolkit_dispatchNonDefaultQueuesImpl
(JNIEnv *env, jobject obj)
{
int rc = 0;
while (rc != -1) {
#ifdef WAKEFIELD_ROBOT
if (robot_queue) {
rc = wl_display_dispatch_queue(wl_display, robot_queue);
} else {
if (!robot_queue) {
return;
}
int rc = 0;
while (rc >= 0) {
// Dispatch pending events on the wakefield queue
while (wl_display_prepare_read_queue(wl_display, robot_queue) != 0 && rc >= 0) {
rc = wl_display_dispatch_queue_pending(wl_display, robot_queue);
}
if (rc < 0) {
wl_display_cancel_read(wl_display);
break;
}
#else
break;
#endif
// Wait for new events, wl_display_read_events is a synchronization point between all threads reading events.
rc = wl_display_read_events(wl_display);
}
// Simply return in case of any error; the actual error reporting (exception)
// and/or shutdown will happen on the "main" toolkit thread AWT-Wayland,
// see readEvents() below.
#endif
}
JNIEXPORT jint JNICALL

View File

@@ -838,6 +838,7 @@ public class TransTypes extends TreeTranslator {
}
public void visitStringTemplate(JCStringTemplate tree) {
tree.processor = translate(tree.processor, erasure(tree.processor.type));
tree.expressions = tree.expressions.stream()
.map(e -> translate(e, erasure(e.type))).collect(List.collector());
tree.type = erasure(tree.type);

View File

@@ -0,0 +1,67 @@
/*
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* @test
* @bug 8313345
* @summary Test SuperWord with a CMove that does not have a matching bool pack.
* @requires vm.compiler2.enabled
* @run main/othervm -XX:-TieredCompilation -XX:CompileCommand=compileonly,*TestCMoveWithoutBoolPack*::fill -Xbatch
* compiler.vectorization.TestCMoveWithoutBoolPack
* @run main/othervm -XX:-TieredCompilation -XX:CompileCommand=compileonly,*TestCMoveWithoutBoolPack*::fill -Xbatch
* -XX:+UseCMoveUnconditionally
* compiler.vectorization.TestCMoveWithoutBoolPack
*/
package compiler.vectorization;
public class TestCMoveWithoutBoolPack {
public static void main(String[] args) {
A a = new A();
B b = new B();
double[] c = new double[1000];
for (int i = 0; i < 1000; i++) {
a.fill(c);
b.fill(c);
}
}
public static class A {
void fill(double[] array) {
for (int i = 0; i < array.length; ++i) {
array[i] = this.transform(array[i]);
}
}
public double transform(double value) {
return value * value;
}
}
public static class B extends A {
public double transform(double value) {
return value;
}
}
}

View File

@@ -28,7 +28,7 @@ package gc.z;
* @requires vm.gc.ZGenerational
* @summary Test ZGC with small heaps
* @library / /test/lib
* @run driver gc.z.TestSmallHeap 8M 16M 32M 64M 128M 256M 512M 1024M
* @run driver gc.z.TestSmallHeap 16M 32M 64M 128M 256M 512M 1024M
*/
import jdk.test.lib.process.ProcessTools;

View File

@@ -753,6 +753,7 @@ jdk/jfr/startupargs/TestStartName.java 8214685 windows-
jdk/jfr/startupargs/TestStartDuration.java 8214685 windows-x64
jdk/jfr/jvm/TestWaste.java 8282427 generic-all
jdk/jfr/api/consumer/recordingstream/TestOnEvent.java 8255404 linux-x64
jdk/jfr/tool/TestView.java 8309238 macosx-x64
############################################################################

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2021-2023 JetBrains s.r.o.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @summary check serialization and backward compatibility of Font
*/
import java.awt.*;
import java.io.*;
import java.util.Base64;
public class FontSerialization {
/** Read the Font object from Base64 string. */
private static Font fontDeserialization(String s) throws IOException, ClassNotFoundException {
byte[] data = Base64.getDecoder().decode(s);
ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(data));
Font font = (Font) ois.readObject();
ois.close();
return font;
}
/** Write the Font to a Base64 string. */
private static String fontSerialization(Font o) throws IOException {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ObjectOutputStream oos = new ObjectOutputStream(baos);
oos.writeObject(o);
oos.close();
return Base64.getEncoder().encodeToString(baos.toByteArray());
}
private static void checkFont(String data, String name) throws IOException, ClassNotFoundException {
Font font = fontDeserialization(data);
if (!font.getFontName().equals(name)) {
throw new Error("deserialized Font name doesn't match");
}
Font reconstructedFont = fontDeserialization(fontSerialization(font));
if ((reconstructedFont.hashCode() != font.hashCode()) || (!reconstructedFont.equals(font))) {
throw new Error("secondarily deserialized Font doesn't match with original");
}
}
public static void main(String[] args) throws Exception {
checkFont("rO0ABXNyAA1qYXZhLmF3dC5Gb250xaE15szeVnMDAAZJABlmb250U2VyaWFsaXplZERhdGFWZXJzaW9uRgAJcG9pbnRTaXplSQAEc2l6ZUkABXN0eWxlTAAUZlJlcXVlc3RlZEF0dHJpYnV0ZXN0ABVMamF2YS91dGlsL0hhc2h0YWJsZTtMAARuYW1ldAASTGphdmEvbGFuZy9TdHJpbmc7eHAAAAABP4AAAAAAAAEAAAAAcHQAC0RlamFWdSBTYW5zeA==", "DejaVu Sans");
checkFont("rO0ABXNyAA1qYXZhLmF3dC5Gb250xaE15szeVnMDAAZJABlmb250U2VyaWFsaXplZERhdGFWZXJzaW9uRgAJcG9pbnRTaXplSQAEc2l6ZUkABXN0eWxlTAAUZlJlcXVlc3RlZEF0dHJpYnV0ZXN0ABVMamF2YS91dGlsL0hhc2h0YWJsZTtMAARuYW1ldAASTGphdmEvbGFuZy9TdHJpbmc7eHAAAAABP4AAAAAAAAEAAAAAcHQAD0Ryb2lkIFNhbnMgTW9ub3g=", "Droid Sans Mono");
checkFont("rO0ABXNyAA1qYXZhLmF3dC5Gb250xaE15szeVnMDAAZJABlmb250U2VyaWFsaXplZERhdGFWZXJzaW9uRgAJcG9pbnRTaXplSQAEc2l6ZUkABXN0eWxlTAAUZlJlcXVlc3RlZEF0dHJpYnV0ZXN0ABVMamF2YS91dGlsL0hhc2h0YWJsZTtMAARuYW1ldAASTGphdmEvbGFuZy9TdHJpbmc7eHAAAAABP4AAAAAAAAEAAAAAcHQAEUZpcmEgQ29kZSBSZWd1bGFyeA==", "Fira Code Regular");
checkFont("rO0ABXNyAA1qYXZhLmF3dC5Gb250xaE15szeVnMDAAZJABlmb250U2VyaWFsaXplZERhdGFWZXJzaW9uRgAJcG9pbnRTaXplSQAEc2l6ZUkABXN0eWxlTAAUZlJlcXVlc3RlZEF0dHJpYnV0ZXN0ABVMamF2YS91dGlsL0hhc2h0YWJsZTtMAARuYW1ldAASTGphdmEvbGFuZy9TdHJpbmc7eHAAAAABP4AAAAAAAAEAAAAAcHQAFUpldEJyYWlucyBNb25vIEl0YWxpY3g=", "JetBrains Mono Italic");
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 8313809
* @summary String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16
.
* @enablePreview true
*/
import static java.util.FormatProcessor.FMT;
public class T8313809 {
public static void main(final String[] args) throws Exception {
double sum = 12.34;
final String message = FMT."The sum is : %f\{sum} €"; // this fails
if (!message.equals("The sum is : 12.340000 €")) {
throw new RuntimeException("Incorrect result");
}
}
}

View File

@@ -115,6 +115,7 @@
java/awt/Button/DisabledButtonPress.java JBR-5799 windows-aarch64
java/awt/Desktop/8064934/bug8064934.java JBR-5764 windows-all
java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.java JBR-5915 linux-all
java/awt/Debug/DumpOnKey/DumpOnKey.java JBR-5225,JBR-5359 windows-all,windows-aarch64
java/awt/event/MouseEvent/MouseClickTest/MouseClickTest.java 8168389 windows-all,macosx-all
java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java 8224055 macosx-all
@@ -146,6 +147,7 @@ java/awt/dnd/URIListBetweenJVMsTest/URIListBetweenJVMsTest.java 8171510,JBR-881
javax/swing/dnd/7171812/bug7171812.java 8041447,8253184 macosx-all,windows-all
java/awt/Focus/ChildWindowFocusTest/ChildWindowFocusTest.java JBR-5545 linux-all,windows-all
java/awt/Focus/ChoiceFocus/ChoiceFocus.java 8169103 windows-all,macosx-all
java/awt/Focus/ClearGlobalFocusOwnerTest/ClearGlobalFocusOwnerTest.java JBR-5907 linux-all
java/awt/Focus/ClearLwQueueBreakTest/ClearLwQueueBreakTest.java 8198618,JBR-814 macosx-all,linux-all
java/awt/Focus/CloseDialogActivateOwnerTest/CloseDialogActivateOwnerTest.java JBR-5225,JBR-5359 windows-all,windows-aarch64
java/awt/Focus/ConsumeNextKeyTypedOnModalShowTest/ConsumeNextKeyTypedOnModalShowTest.java 6986252,JBR-5178 macosx-all,windows-all
@@ -207,7 +209,8 @@ java/awt/Mixing/HWDisappear.java 8253184 windows-all
java/awt/Mixing/MixingInHwPanel.java 8253184 windows-all
java/awt/Mixing/NonOpaqueInternalFrame.java 7124549 macosx-all
java/awt/Mixing/ValidBounds.java 8253184 windows-all
java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java 8252772 linux-all
java/awt/Mixing/Validating.java JBR-5908 linux-all
java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java 8252772,JBR-5799 linux-all,windows-all
java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java 6829264 generic-all
java/awt/Focus/ShowFrameCheckForegroundTest/ShowFrameCheckForegroundTest.java JBR-5210 windows-all
java/awt/datatransfer/DragImage/MultiResolutionDragImageTest.java 8080982 generic-all
@@ -235,11 +238,13 @@ java/awt/Focus/8073453/SwingFocusTransitionTest.java JBR-5210 windows-all
java/awt/event/KeyEvent/AltCharAcceleratorTest/AltCharAcceleratorTest.java JBR-5210 windows-all
java/awt/event/KeyEvent/AltGraphModifier.java JBR-5359 windows-aarch64
java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java 8169476 windows-all
java/awt/event/KeyEvent/KeyChar/KeyCharTest.java 8169474,8224055 windows-all
java/awt/event/KeyEvent/KeyChar/KeyCharTest.java 8169474,8224055,JBR-93 windows-all,linux-all
java/awt/event/KeyEvent/KeyEventLocationTest.java JBR-5916 linux-all
java/awt/event/KeyEvent/KeyTyped/CtrlASCII.java JBR-3636,JBR-4880 windows-all
java/awt/event/KeyEvent/KeyTyped/CtrlSpace.java JBR-3817 windows-all,macosx-all
java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java JBR-5906 linux-all
java/awt/dnd/BadSerializationTest/BadSerializationTest.java linux-x64,windows-x64
java/awt/dnd/Button2DragTest/Button2DragTest.java 8310490 linux-all
@@ -325,6 +330,7 @@ java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeC
java/awt/print/PrinterJob/GetUserNameTest.java JBR-5225,JBR-5359 windows-all,windows-aarch64
java/awt/print/PrinterJob/PSQuestionMark.java 7003378 generic-all
java/awt/print/PrinterJob/GlyphPositions.java 7003378 generic-all
java/awt/Choice/ChoiceLocationTest/ChoiceLocationTest.java JBR-5799 windows-all
java/awt/Choice/ChoiceFocusLostTest.java JBR-5799 windows-x64
java/awt/Choice/ChoiceHandleMouseEvent_2.java JBR-5359 windows-aarch64
java/awt/Choice/ChoiceMouseWheelTest/ChoiceMouseWheelTest.java 6849371,7100044,JBR-5210 macosx-all,linux-all,windows-all
@@ -594,6 +600,7 @@ java/awt/Modal/OnTop/OnTopTKModal3Test.java 8253184 windows-all
java/awt/Modal/OnTop/OnTopTKModal4Test.java 8253184 windows-all
java/awt/Modal/OnTop/OnTopTKModal5Test.java 8253184 windows-all
java/awt/Modal/OnTop/OnTopTKModal6Test.java 8253184 windows-all
java/awt/List/ActionEventTest/ActionEventTest.java JBR-5799 windows-x64
java/awt/List/EmptyListEventTest/EmptyListEventTest.java JBR-5387 linux-all
java/awt/List/FirstItemRemoveTest/FirstItemRemoveTest.java JBR-86 windows-x64
java/awt/List/ItemEventTest/ItemEventTest.java JBR-5711 linux-all
@@ -900,8 +907,10 @@ javax/swing/JMenuItem/4654927/bug4654927.java JBR-164,JBR-4337 windows-all,linux
javax/swing/JMenuItem/6209975/bug6209975.java 8253184 windows-all
javax/swing/JRadioButton/8075609/bug8075609.java JBR-5510 linux-5.18.2-arch1-1
javax/swing/JMenuItem/8158566/CloseOnMouseClickPropertyTest.java JBR-5510,JBR-5545 linux-all,windows-all
javax/swing/JMenuItem/bug4839464.java JBR-5911 windows-all
javax/swing/JMenuItem/6249972/bug6249972.java 8197552 windows-all
javax/swing/JOptionPane/7138665/bug7138665.java JBR-5799 windows-all
javax/swing/JOptionPane/8081019/bug8081019.java JBR-5767 windows-all
javax/swing/JPopupMenu/6415145/bug6415145.java 8197552 windows-all
javax/swing/JPopupMenu/6515446/bug6515446.java 8197552 windows-all
javax/swing/JRadioButton/8033699/bug8033699.java 8197552 windows-all
@@ -932,18 +941,26 @@ javax/swing/JComboBox/4743225/bug4743225.java JBR-5210 windows-all
javax/swing/JComboBox/6236162/bug6236162.java JBR-5210 windows-all
javax/swing/JComboBox/ConsumedKeyTest/ConsumedKeyTest.java JBR-5210 windows-all
javax/swing/JEditorPane/bug4714674.java JBR-5810 windows-all
javax/swing/JComboBox/DisabledComboBoxFontTestAuto.java 8310072 linux-all
javax/swing/JComboBox/DisabledComboBoxFontTestAuto.java 8310072 linux-all,windows-all
javax/swing/JEditorPane/JEditorPaneGCSwitchTest/JEditorPaneGCSwitchTest_i18n.java JBR-912 windows-all
javax/swing/JEditorPane/JEditorPaneGCSwitchTest/JEditorPaneGCSwitchTest.java JBR-912 windows-all
javax/swing/JFileChooser/8021253/bug8021253.java JBR-107 windows-all
javax/swing/JFileChooser/8041694/bug8041694.java JBR-5210 windows-all
javax/swing/JFileChooser/6396844/TwentyThousandTest.java 8198003 generic-all
javax/swing/JFileChooser/6520101/bug6520101.java JBR-5703 linux-5.8.0-1032-raspi
javax/swing/JFileChooser/6570445/bug6570445.java JBR-5767 windows-all
javax/swing/JFileChooser/6738668/bug6738668.java JBR-5767 windows-all
javax/swing/JFileChooser/7036025/bug7036025.java JBR-5767 windows-all
javax/swing/JFileChooser/8062561/bug8062561.java JBR-5767 windows-all
javax/swing/JFileChooser/8194044/FileSystemRootTest.java JBR-5767 windows-all
javax/swing/JFileChooser/ShellFolderQueries/ShellFolderQueriesSecurityManagerTest.java JBR-5767 windows-all
javax/swing/JFrame/8016356/bug8016356.java JBR-108 windows-all
javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java JBR-5359,JBR-5510 windows-aarch64,linux-5.18.2-arch1-1
javax/swing/JPopupMenu/6675802/bug6675802.java JBR-5767 windows-all
javax/swing/JPopupMenu/6800513/bug6800513.java 7184956 macosx-all
javax/swing/JScrollPane/HorizontalMouseWheelOnShiftPressed/HorizontalMouseWheelOnShiftPressed.java 8197552 windows-all
javax/swing/JSplitPane/4885629/bug4885629.java 8019935,JBR-5359,JBR-5510 macosx-all,windows-aarch64,linux-5.18.2-arch1-1
javax/swing/JTabbedPane/4361477/bug4361477.java JBR-5932 linux-all
javax/swing/JTabbedPane/8007563/Test8007563.java 8051591 generic-all
javax/swing/JTabbedPane/4624207/bug4624207.java 8064922,8197552 macosx-all,windows-all 8064922:macosx-all, 8197552:windows-all
javax/swing/JTabbedPane/TestBackgroundScrollPolicy.java 8253184,windows-all
@@ -951,7 +968,7 @@ javax/swing/JToolBar/4529206/bug4529206.java JBR-5387 linux-all
javax/swing/JToolTip/6219960/bug6219960.java 8253184 windows-all
javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java 8160720 generic-all
javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java JBR-5510 linux-5.18.2-arch1-1
javax/swing/text/TableView/TableViewLayoutTest.java 8194936,JBR-4316,JBR-5510 linux-5.18.2-arch1-1,linux-aarch64
javax/swing/text/TableView/TableViewLayoutTest.java 8194936,JBR-4316,JBR-5510 linux-5.18.2-arch1-1,linux-all
javax/swing/JFileChooser/6798062/bug6798062.java 8146446 windows-all
javax/swing/JComboBox/4523758/bug4523758.java 8253184 windows-all
javax/swing/JComboBox/8072767/bug8072767.java JBR-5540 windows-all
@@ -959,7 +976,8 @@ javax/swing/JComboBox/8182031/ComboPopupTest.java 8253184 windows-all
javax/swing/JInternalFrame/6288609/TestJInternalFrameDispose.java JBR-788 windows-all,linux-all
javax/swing/JInternalFrame/6647340/bug6647340.java 8253184 windows-all
javax/swing/JInternalFrame/8145060/TestJInternalFrameMinimize.java JBR-788 windows-all,linux-all
javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java JBR-5539 windows-x64
javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java JBR-5539 windows-all
javax/swing/JInternalFrame/Test6505027.java JBR-5954 linux-all,osx-all
javax/swing/JInternalFrame/Test6802868.java 8253184 windows-all
javax/swing/JPopupMenu/4634626/bug4634626.java 8253184 windows-all
javax/swing/JPopupMenu/4760494/bug4760494.java 8253184 windows-all
@@ -979,6 +997,7 @@ javax/swing/plaf/metal/MetalGradient/8163193/ButtonGradientTest.java 8253184,JBR
javax/swing/plaf/synth/7158712/bug7158712.java JBR-125 windows-all
javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java 8253184,JBR-5510,JBR-803 windows-all,linux-5.18.2-arch1-1,linux-all
javax/swing/plaf/synth/SynthScrollbarThumbPainter/SynthScrollbarThumbPainterTest.java 8253184 windows-all
javax/swing/plaf/synth/Test8043627.java JBR-5767 windows-all
javax/swing/JInternalFrame/5066752/bug5066752.java 8253184,JBR-5510 windows-all,linux-5.18.2-arch1-1
javax/swing/JInternalFrame/8160248/JInternalFrameDraggingTest.java JBR-5359,JBR-5510 windows-aarch64,linux-5.18.2-arch1-1
javax/swing/JInternalFrame/8020708/bug8020708.java JBR-4879 windows-all
@@ -990,6 +1009,8 @@ javax/swing/text/JTextComponent/6361367/bug6361367.java JBR-5210 windows-all
javax/swing/text/StyledEditorKit/4506788/bug4506788.java JBR-180 windows-all
javax/swing/text/View/8014863/bug8014863.java JBR-5541 windows-all
javax/swing/text/View/8156217/FPMethodCalledTest.java JBR-5541 linux-all
javax/swing/UI/UnninstallUIMemoryLeaks/UnninstallUIMemoryLeaks.java JBR-5952 windows-x64
javax/swing/UIDefaults/6795356/TableTest.java.TableTest JBR-5767 windows-all
java/awt/Robot/HiDPIScreenCapture/HiDPIRobotScreenCaptureTest.java 8253184 windows-all
java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java 8253184 windows-all
java/awt/Robot/CheckCommonColors/CheckCommonColors.java 8253184,JBR-5510 windows-all,linux-5.18.2-arch1-1
@@ -1117,6 +1138,7 @@ java/awt/Modal/PrintDialogsTest/PrintDialogsTest.java 8068378 generic-all
java/awt/dnd/DnDFileGroupDescriptor/DnDFileGroupDescriptor.html 8080185 macosx-all,linux-all
javax/swing/JTabbedPane/4666224/bug4666224.html 8144124 macosx-all
javax/swing/JTextArea/8149849/DNDTextToScaledArea.java 8253184 windows-all
javax/swing/JTextArea/7049024/bug7049024.java JBR-5836 linux-all
java/awt/event/MouseEvent/AltGraphModifierTest/AltGraphModifierTest.java 8162380 generic-all
java/awt/image/VolatileImage/VolatileImageConfigurationTest.java 8171069 macosx-all,linux-all
java/awt/Modal/InvisibleParentTest/InvisibleParentTest.java 8172245 linux-all
@@ -1191,6 +1213,7 @@ javax/print/attribute/SupportedPrintableAreas.java
java/awt/dnd/DragInterceptorAppletTest/DragInterceptorAppletTest.java JBR-890 generic-all
java/awt/dnd/NoFormatsCrashTest/NoFormatsCrashTest.java JBR-1011 generic-all
java/awt/dnd/NoFormatsDropTest/NoFormatsDropTest.java JBR-5912 windows-all
java/awt/dnd/FileListBetweenJVMsTest/FileListBetweenJVMsTest.java JBR-1011 generic-all
com/sun/java/swing/plaf/windows/Test8173145.java JBR-4197 windows-all
@@ -1240,6 +1263,7 @@ javax/swing/text/html/7189299/bug7189299.java JBR-4880 windows-all
jb/java/jcef/HandleJSQueryTest3314.sh JBR-4866 linux-all
jb/sun/awt/macos/InputMethodTest/FocusMoveUncommitedCharactersTest.java JBR-5765 macosx-all
jb/sun/awt/macos/InputMethodTest/PinyinCapsLockTest.java JBR-5282 macosx-all
jb/sun/awt/macos/KeyPressAndHoldTest.java JBR-4901 macosx-all
jb/sun/awt/macos/NationalLayoutTest/Layout_ABC.java JBR-4933 macosx-all
jb/sun/awt/macos/NationalLayoutTest/Layout_FRENCH_PC.java JBR-4933 macosx-all
@@ -1262,7 +1286,7 @@ jb/java/api/frontend/CustomTitleBarDoubleClick.java JBR-4912 windows-all
jb/java/jcef/MouseEventTest.java JBR-4908 linux-all
jb/java/lang/System/SetEnv394.java JBR-2988 macosx-aarch64
jb/java/lang/System/SetEnv394.java JBR-2988 generic-aarch64
# TBD
javax/sound/sampled/Lines/ChangingBuffer.java JBR-4455 linux-aarch64
@@ -1294,7 +1318,7 @@ javax/sound/sampled/Clip/ClipIsRunningAfterStop.java JBR-4455 linux-aarch64
javax/sound/sampled/Mixers/BogusMixers.java JBR-4455 linux-aarch64
java/awt/Choice/RemoveAllShrinkTest/RemoveAllShrinkTest.java JBR-5359,JBR-5510,8310487 windows-aarch64,linux-5.18.2-arch1-1,linux-all
java/awt/Choice/ResizeAutoClosesChoice/ResizeAutoClosesChoice.java JBR-5359,JBR-5510 windows-aarch64,linux-5.18.2-arch1-1
java/awt/Choice/ResizeAutoClosesChoice/ResizeAutoClosesChoice.java JBR-5359,JBR-5510,JBR-5905 windows-aarch64,linux-5.18.2-arch1-1,linux-all
java/awt/ColorClass/XRenderTranslucentColorDrawTest.java JBR-5359 windows-aarch64
java/awt/Frame/InvisibleOwner/InvisibleOwner.java JBR-5359,JBR-5510 windows-aarch64,linux-5.18.2-arch1-1
java/awt/Graphics/CopyScaledArea/CopyScaledAreaTest.java JBR-5359 windows-aarch64
@@ -1330,9 +1354,9 @@ javax/swing/JPopupMenu/7156657/bug7156657.java JBR-5359 windows-aarch64
javax/swing/JRadioButton/8041561/bug8041561.java JBR-5359,JBR-5510 windows-aarch64,linux-5.18.2-arch1-1
javax/swing/JSplitPane/4820080/JSplitPaneDragColorTest.java JBR-5359,JBR-5510 windows-aarch64,linux-5.18.2-arch1-1
javax/swing/Popup/TaskbarPositionTest.java 8310689 windows-all,macosx-all
javax/swing/PopupFactory/6276087/NonOpaquePopupMenuTest.java 8298124 macosx-all
javax/swing/PopupFactory/6276087/NonOpaquePopupMenuTest.java 8298124, JBR-5949 macosx-all,linux-all,windows-all
javax/swing/plaf/nimbus/8041642/ScrollBarThumbVisibleTest.java JBR-5359,JBR-5510 windows-aarch64,linux-5.18.2-arch1-1
javax/swing/text/html/CSS/4530474/bug4530474.java JBR-5359,JBR-5510 windows-aarch64,linux-5.18.2-arch1-1
javax/swing/text/html/CSS/4530474/bug4530474.java JBR-5359,JBR-5510,JBR-5951 windows-aarch64,linux-5.18.2-arch1-1,windows-x64
jb/java/awt/CustomTitleBar/ActionListenerTest.java JBR-5819 macosx-all,windows-all
jb/java/awt/CustomTitleBar/DialogNativeControlsTest.java JBR-5359,JBR-5345 windows-aarch64,windows-x64
jb/java/awt/CustomTitleBar/FrameNativeControlsTest.java JBR-5359,JBR-5345 windows-aarch64,windows-x64
@@ -1360,7 +1384,6 @@ javax/swing/JSpinner/4670051/DateFieldUnderCursorTest.java JBR-5510 linux-5.18.2
javax/swing/JSpinner/4788637/bug4788637.java JBR-5510 linux-5.18.2-arch1-1
javax/swing/LookAndFeel/8145547/DemandGTK2.sh JBR-5510 linux-5.18.2-arch1-1
javax/swing/LookAndFeel/8145547/DemandGTK3.sh JBR-5510 linux-5.18.2-arch1-1
javax/swing/text/TableView/TableViewLayoutTest.java JBR-5510 linux-5.18.2-arch1-1
java/awt/Toolkit/LockingKeyStateTest/LockingKeyStateTest.java JBR-5765 macosx-all
jb/sun/awt/macos/InputMethodTest/FocusMoveUncommitedCharactersTest.java JBR-5765 macosx-all

View File

@@ -0,0 +1,39 @@
/*
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test T8312814
* @summary Verify proper behavior of TransType w.r.t. templated Strings
* @enablePreview
* @compile T8312814.java
*/
import java.util.List;
public class T8312814 {
void x(List<? extends StringTemplate.Processor<String, RuntimeException>> list) {
list.get(0)."";
}
}