JDK-8204290 : Add check to limit number of capture groups
  • Type: Bug
  • Component: core-libs
  • Sub-Component: jdk.nashorn
  • Affected Version: 8,11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-06-04
  • Updated: 2020-02-21
  • Resolved: 2018-06-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 8 Other
11 b18Fixed 8u241Fixed openjdk8u232Fixed
Related Reports
Relates :  
Description
Backport of https://github.com/jruby/joni/commit/a63d70883cc33872163b46dd84f81a8462ce3ae7
Comments
Fix Request (OpenJDK 8u): Please approve backporting this to OpenJDK 8u as it's been backported to Oracle JDK 8 as well. The JDK 11 changeset did apply cleanly (modulo path changes), but the test didn't work and needed manual adjusting. Testing: ran nashorn tests which includes the new regression test that passed. RFR: http://mail.openjdk.java.net/pipermail/jdk8u-dev/2019-November/010609.html webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8204290/01/webrev/
18-11-2019