Skip to content

Commit

Permalink
Some fixes based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
azuev-java committed Sep 17, 2024
1 parent 4bbc9b0 commit 0dce88f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static void main(String[] args) throws InterruptedException,
try {
test.test();
if (position != 9) {
System.err.println("Caret position should be at the end of the string");
throe new RuntimeException("Caret position should be at the end of the string");
}
} finally {
EventQueue.invokeAndWait(test::dispose);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

/*
* @test
* @bug 6198290, 6277332
* @bug 6198290 6277332
* @summary TextField painting is broken when placed on a Scrollpane, XToolkit
* @library /java/awt/regtesthelpers
* @build PassFailJFrame
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* @test
* @bug 4226580
* @summary TextField with echoChar add+remove+add seems to be broken
* @library /open/test/jdk/java/awt/regtesthelpers
* @library /java/awt/regtesthelpers
* @build PassFailJFrame
* @run main/manual SetEchoCharTest4
*/
Expand Down Expand Up @@ -72,7 +72,6 @@ private void addStuff() {
add(tf2);
add(tf3);
add(b);
setVisible(true);
}

public void actionPerformed(ActionEvent ae) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @bug 4084454
* @summary Make sure that you can set the text in a "password mode"
* text field and that it echoes as the current echo char.
* @library /open/test/jdk/java/awt/regtesthelpers
* @library /java/awt/regtesthelpers
* @build PassFailJFrame
* @run main/manual SetPasswordTest
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @bug 4307281
* @summary verify that after setting the echo char to 0 disguises are
* removed and user input is echoed to the screen unchanged.
* @library /open/test/jdk/java/awt/regtesthelpers
* @library /java/awt/regtesthelpers
* @build PassFailJFrame
* @run main/manual ZeroEchoCharTest
*/
Expand Down

0 comments on commit 0dce88f

Please sign in to comment.