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

javafx.scene.layout.TilePane.layoutChildren prints debug output in non-debug mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:

      Description

      javafx.scene.layout.TilePane.layoutChildren prints debug output in non-debug mode

         782 @Override protected void layoutChildren() {
         783 StackTraceElement[] stack = Thread.currentThread().getStackTrace();
         784 for (int s = 0, max = Math.min(5,stack.length); s < max; s++) System.err.println(stack[s]);


      These debug messages could affect performance results.

      I guess this needs to be either removed or enabled only in debug mode.

        Attachments

          Activity

            People

            Assignee:
            kwwong Kinsley Wong
            Reporter:
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: