• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • core-libs
    • None
    • b93
    • generic
    • generic
    • Verified

      It is correctly be detected as error in jdk8-b84. But with nashorn tip, we get StackOverflowError with the following stack trace:

      at jdk.nashorn.internal.runtime.regexp.RegExpScanner.nonemptyClassRangesNoDash(RegExpScanner.java:841)
      at jdk.nashorn.internal.runtime.regexp.RegExpScanner.nonemptyClassRangesNoDash(RegExpScanner.java:841)
      at jdk.nashorn.internal.runtime.regexp.RegExpScanner.nonemptyClassRangesNoDash(RegExpScanner.java:841)
      at jdk.nashorn.internal.runtime.regexp.RegExpScanner.nonemptyClassRangesNoDash(RegExpScanner.java:841)
      at jdk.nashorn.internal.runtime.regexp.RegExpScanner.nonemptyClassRangesNoDash(RegExpScanner.java:841)
      at jdk.nashorn.internal.runtime.regexp.RegExpScanner.nonemptyClassRangesNoDash(RegExpScanner.java:841)

            hannesw Hannes Wallnoefer
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: