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

Parsing repetition count in regex does not detect numeric overflow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 13
    • None
    • core-libs
    • None

        java java.util.regex.PrintPattern '.{4294967297}'
           Pattern: .{4294967297}
             0: <Start>
             1: <Curly GREEDY {1, 1}>
             2: <Single "Dot">
                 </Curly>
             3: <END>

              igerasim Ivan Gerasimov
              igerasim Ivan Gerasimov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: