Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8256402

Remove javax.swing.JPasswordField.getText() and co.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • 7, 8, 11, 14, 15, 16
    • client-libs

       javax.swing.JPasswordField.getText() has been deprecated since JDK 1.2.

      No applications should be using it. Returning a password in String format is bad coding.

      javax.swing.JPasswordField.getText(int offs, int len) also needs to be removed.

            serb Sergey Bylokhov
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: