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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 7, 8, 11, 14, 15, 16
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:

      Description

       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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: