From e21d06f488bce227eedc4c92d976301a7b54fda8 Mon Sep 17 00:00:00 2001 From: Prasanta Sadhukhan Date: Fri, 22 Nov 2024 03:07:26 +0000 Subject: [PATCH] 8344338: javax/swing/JTextArea/bug4265784.java fails on Ubuntu 24.04.1 Reviewed-by: achung, kizune --- test/jdk/javax/swing/JTextArea/bug4265784.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/jdk/javax/swing/JTextArea/bug4265784.java b/test/jdk/javax/swing/JTextArea/bug4265784.java index 3465fced595..2b1ea06834f 100644 --- a/test/jdk/javax/swing/JTextArea/bug4265784.java +++ b/test/jdk/javax/swing/JTextArea/bug4265784.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2023, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2024, 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 @@ -50,7 +50,7 @@ public class bug4265784 { try { SwingUtilities.invokeAndWait(() -> { frame = new JFrame("bug4265784"); - ta = new JTextArea(); + ta = new JTextArea("some text", 50, 50); frame.getContentPane().add(ta); frame.pack(); frame.setLocationRelativeTo(null);