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

java/util/regex/RegTest.java fails in 6u4p with -XX:+AggressiveOpts flag

XMLWordPrintable

    • sparc
    • solaris_10

      java/util/regex/RegTest.java
      fails in 6u4p on solaris-sparc with
      -server -XX:+AggressiveOpts flags.

      The test doesn't fail without -XX:+AggressiveOpts.

      The test doesn't fail with latest jdk6u4b09 and latest jdk7b23

      Error log:
      SupplementaryTestCases.txt : Failed(1)
      Boyer Moore (ASCII) : Passed
      Boyer Moore (Supplementary) : Passed
      Slice : Passed
      java.lang.IllegalStateException: No match found
              at java.util.regex.Matcher.group(Matcher.java:468)
              at java.util.regex.Matcher.group(Matcher.java:428)
              at RegTest.doSlice(RegTest.java:3101)
              at RegTest.slice(RegTest.java:3043)
              at RegTest.main(RegTest.java:41)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
              at java.lang.Thread.run(Thread.java:619)

      JavaTest Message: Test threw exception: java.lang.IllegalStateException: No match found
      JavaTest Message: shutting down test

            Unassigned Unassigned
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: