Backport Java 7 Regex to Java 6 runtime

Andrew Haley aph at
Wed Nov 23 16:16:25 UTC 2016

On 23/11/16 16:00, Abdessamed MANSOURI wrote:
> We want to backport Java 7 Regex to Java 6 runtime to benifits of some Java
> 7 Regex features as Named Capturing Group ..., i already read some of
> OpenJDK 7 codes and it doens't seems too much complicated cause there isn't
> much dependencies to others packages (java.*, sun.* ...) nor native
> dependencies from java.regex
> I just want to ask you (if you have time ofc) if we authorized to backport
> regex according to GPL v2 licence and put it in closed source application,
> and if you have some points and advice to backport it please share it.

Two things:

We can't do it if in any way it deviates from the JDK 6 specification.

JDK 6 is very old.  It's highly questionable if this makes any sense.


More information about the discuss mailing list