Backport Java 7 Regex to Java 6 runtime

Alex Kashchenko akashche at redhat.com
Thu Nov 24 09:54:22 UTC 2016


Hi Abdessamed,

On 11/23/2016 04:16 PM, Andrew Haley wrote:
> 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 ...,

Maybe this regex library will suite your needs - 
https://github.com/tony19/named-regexp

>> 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.
>
> Andrew.
>

-- 
-Alex



More information about the discuss mailing list