CRASH: JCK test eats much memory and jvm crashes

XMLWordPrintable

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

        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();
                }

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: