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

Unexpected exception caught from jdi test: java.lang.ArrayIndexOutOfBoundsException from SimpleDateFormat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 13
    • 13
    • core-libs

      com/sun/jdi/ArrayRangeTest.java (failure observed at linux-x64)
      com/sun/jdi/ConstantPoolInfo.java (failure observed at windows-x64):

      Looks like exception from javatest in 18n area(?), jdi test itself actually "Not run".

      jtreg used in testing: jtreg 4.2/b14
      jtreg launched by jdk-10+46

      #section:Details
      ----------messages:(0/0)----------
      ----------Stack trace:(14/1002)----------
      java.lang.ArrayIndexOutOfBoundsException: 951
      at java.base/sun.util.calendar.BaseCalendar.getCalendarDateFromFixedDate(BaseCalendar.java:453)
      at java.base/java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2394)
      at java.base/java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2309)
      at java.base/java.util.Calendar.setTimeInMillis(Calendar.java:1834)
      at java.base/java.util.Calendar.setTime(Calendar.java:1800)
      at java.base/java.text.SimpleDateFormat.format(SimpleDateFormat.java:973)
      at java.base/java.text.SimpleDateFormat.format(SimpleDateFormat.java:966)
      at java.base/java.text.DateFormat.format(DateFormat.java:374)
      at com.sun.javatest.ProductInfo.getDetailedVersion(ProductInfo.java:85)
      at com.sun.javatest.Script.run(Script.java:196)
      at com.sun.javatest.DefaultTestRunner.runTest(DefaultTestRunner.java:175)
      at com.sun.javatest.DefaultTestRunner.access$100(DefaultTestRunner.java:43)
      at com.sun.javatest.DefaultTestRunner$1.run(DefaultTestRunner.java:68)
      result: Not run. Test running...


      test result: Error. Unexpected exception caught from test com/sun/jdi/ArrayRangeTest.java: java.lang.ArrayIndexOutOfBoundsException: 951

            Unassigned Unassigned
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: