www-legal-discuss mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Legal question to include code like com.sun.tools.javac.Main
Date Tue, 27 Jan 2015 10:43:49 GMT
On 26/01/2015 09:45, Chia-Hung Lin wrote:
> Hi,
> I have a naive question regarding to include the methods like
> Main.compile in com.sun package in the project source code.
> For instance, in our project like hama if there is a source file that
> makes use of com.sun.tools.javac.Main to runtime compile java sources
> into classes. Is it legal to release or include that source with
> project?

Legally, yes that is fine. You can reference internal JVM vendor classes
if you wish.

What you may not do is include tools.jar in your distribution since the
license for that JAR is not compatible with distribution under the ALv2.


To unsubscribe, e-mail: legal-discuss-unsubscribe@apache.org
For additional commands, e-mail: legal-discuss-help@apache.org

View raw message