[ 
https://issues.apache.org/jira/browse/NETBEANS-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894526#comment-16894526
 ] 

Matthias Bläsing edited comment on NETBEANS-1159 at 7/27/19 7:11 PM:
---------------------------------------------------------------------

Reopening this, as the parser used in netbeans was not relicensed. The graal.js 
parser is not identical:
 * it produces a different parse tree
 * it lacks support for jsx

So at this time, we only have the work around of having a hard-dependency (try 
to activate JS functions without the GPL-2 module installed) on 
com.oracle.js.parser-ba7a8bc42268.jar.

It would be great if Oracle could relicense the graal.js parser from the 
mercurial repository: [http://hg.openjdk.java.net/graal/graal-js-parser] that 
way we could integrate it and could later move to newer versions (or not if not 
feasible).


was (Author: mblaesing):
Reopening this, as the parser used in netbeans was not relicensed. The graal.js 
parser is not identical:
 * it produces a different parse tree
 * it lacks support for jsx

So at this time, we only have the work around of having a hard-dependency (try 
to activate JS functions without the GPL-2 module installed) on 
com.oracle.js.parser-ba7a8bc42268.jar.

> Relicense nashorn parser
> ------------------------
>
>                 Key: NETBEANS-1159
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1159
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javascript - Other
>    Affects Versions: 10.0
>            Reporter: Svatopluk Dedic
>            Assignee: Svatopluk Dedic
>            Priority: Blocker
>             Fix For: 10.0
>
>
> The nashorn parser uses GPLv2 with classpath exception, which is not 
> compatible for Apache distribution.
> Since the code was fully developed by Oracle (and is committed in 
> [http://hg.openjdk.java.net/graal/graal-js-parser/file/ba7a8bc42268/graal/com.oracle.js.parser/src/com/oracle/js/parser|http://hg.openjdk.java.net/graal/graal-js-parser/file/ba7a8bc42268/graal/com.oracle.js.parser/src/com/oracle/js/parser),]),
>  it could be possible (for Oracle) to relicense the code to allow 
> distribution.
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to