File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/jdk/javax/swing/JComboBox Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2001, 2023 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2001, 2025 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -44,7 +44,7 @@ public static void main(String[] args) throws Exception {
44
44
SwingUtilities .invokeAndWait (combo ::hidePopup );
45
45
int after = combo .getRepaintCount ();
46
46
if (after > before ) {
47
- throw new Error ("Failed 4276920: BasicComboPopup.hide() caused unnecessary repaint()" );
47
+ throw new RuntimeException ("Failed 4276920: BasicComboPopup.hide() caused unnecessary repaint()" );
48
48
}
49
49
} finally {
50
50
if (frame != null ) {
You can’t perform that action at this time.
0 commit comments