> > The source I'm referring to says otherwise[1], but you may have a better > source.
After carefully review License File in Webkit source code [1], I didn't find any fact could support the idea that JavaScriptCore is under LGPL as there is no standalone LICENSE file for JavaScriptCore. *So I think that JavaScriptCore is also under dual-license as Webkit does.* This would still be OK if, at runtime, another implementation could be used > in place of this LGPL component. There is another implementation for JavaScript interpretator called V8 , which is under BSD License [2]. But users must write some extra code to switch to V8 as the header files between V8 and JavaScriptCore are not compatible. I'm not sure whether we could call it runtime replaceable. [1] https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.17.4/Source/JavaScriptCore/ [2] https://chromium.googlesource.com/v8/v8.git/+/master/LICENSE Best Regards, YorkShen 申远 Myrle Krantz <[email protected]> 于2019年7月19日周五 下午7:57写道: > On Thu, Jul 18, 2019 at 5:22 AM York Shen <[email protected]> wrote: > > > Just some further information about what @ddy199726 said. > > > > The relationship between weex and JavaScriptCore is similar to the > > relationship between any Java Project and JDK. > > > > If one want to run a Java program, he/she must have a JDK/JRE to > interpret > > Java byte code. > > If one want to run a Weex program, he/she must have a JavaScript > > interpretator to interpret JavaScript. Here we choose JavaScriptCore. > > > > If it is the case that this can be done with any JavaScript interpreter, > then you are working within the Apache licensing policies. You're doing > great. Thank you for answering my questions. > > It is a real pleasure working with you York Shen and ddy! > Myrle >
