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

CRASH: JCK test eats much memory and jvm crashes

    XMLWordPrintable

Details

    • 2d
    • b17
    • 7
    • b03
    • generic
    • generic

    Backports

      Description

        JCK test api/javax_swing/SwingUtilities/descriptions.html#other produce error, and jvm becomes unusable at least on solaris. Here is the code that makes a crash:

                Font[] fonts = GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();
                FontMetrics fm;
                for(int i = 0; i< fonts.length; i++){
                    fm = Toolkit.getDefaultToolkit().getFontMetrics(fonts[i]);
                    fm.getWidths();
                }

        Attachments

          Issue Links

            Activity

              People

                igor Igor Nekrestyanov (Inactive)
                avishentsunw Alexey Vishentsev (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: