- 
    Sub-task 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    None
- 
    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)
            
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)