Skip to content

Commit

Permalink
8344338: javax/swing/JTextArea/bug4265784.java fails on Ubuntu 24.04.1
Browse files Browse the repository at this point in the history
Reviewed-by: achung, kizune
  • Loading branch information
prsadhuk committed Nov 22, 2024
1 parent db44e97 commit e21d06f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/jdk/javax/swing/JTextArea/bug4265784.java
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -50,7 +50,7 @@ public static void main(String[] args) throws Exception {
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);
Expand Down

0 comments on commit e21d06f

Please sign in to comment.