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

The removal of System.out.println from KeyboardManager

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 6
    • client-libs
    • b03
    • x86
    • windows_vista

      A DESCRIPTION OF THE REQUEST :
      The following lines of code in KeyboardManager.java cause a stack dump to be sent to stdout when I manually invoke the action listeners on a listbox

             if (e.isConsumed()) {
      System.out.println("Aquired pre-used event!");
      Thread.dumpStack();
               }


      JUSTIFICATION :
      It generates information to standard out that should either be logged or removed altogether since there is nothing a developer can do about it. It looks like internal debugging code

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      A logger should be used to log this information

            psadhukhan Prasanta Sadhukhan
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: