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

[TEST_BUG] Test java/awt/Graphics2D/DrawString/DrawStringCrash.java fails with OutOfMemoryError

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b24
    • Introduced In Version:
      9
    • Resolved In Build:
      b33
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Testsuite name: Regression
        Test name(s): java/awt/Graphics2D/DrawString/DrawStringCrash.java
        JDK tested: jdk1.8_40b05,b04,b02; jdk1.8_25b15,b08 ;jdk1.7u80b04 ;jdk1.9b28
        OS tested:Linux ,Solaris ,Windows
        Is it a regression? No ( Test introduced in jdk1.8_40b02 and 9b24)
        Fails in jdk1.8_40b05,b04,b02; jdk1.9b24
        Regression introduced in release/build: NA
        Is it platform specific? No

        java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:3332)
        at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137)
        at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121)
        at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:432)
        at java.lang.StringBuffer.append(StringBuffer.java:302)
        at DrawStringCrash.main(DrawStringCrash.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:745)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sraghavan Srinivasan Raghavan (Inactive)
                Reporter:
                sraghavan Srinivasan Raghavan (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: