changeset 7386:5c7f60091d08

8052159: TEST_BUG: javax/swing/JTextField/8036819/bug8036819.java fails to compile Reviewed-by: pchelko, serb
author van
date Sat, 09 Aug 2014 01:01:20 +0400
parents ee4e3f5bd64f
children 42589a83bbfe
files test/javax/swing/JTextField/8036819/bug8036819.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/javax/swing/JTextField/8036819/bug8036819.java	Fri Aug 08 15:06:39 2014 +0400
+++ b/test/javax/swing/JTextField/8036819/bug8036819.java	Sat Aug 09 01:01:20 2014 +0400
@@ -73,7 +73,7 @@
         usernameLabel.setLabelFor(usernameField);
 
         JLabel pwdLabel = new JLabel("Password: ");
-        JTextField pwdField = new JTextField(20);
+        final JTextField pwdField = new JTextField(20);
         pwdLabel.setDisplayedMnemonic(KeyEvent.VK_P);
         pwdLabel.setLabelFor(pwdField);