[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: which source package has the source for javac in openjdk?



Hi David,

On Mon, 7 Dec 2009 12:58:59 +0000, David Goodenough
<david.goodenough@linkchoose.co.uk> wrote:
> That does NOT seem to contain the source of the compiler.  There should
> be a file called TreeMaker.java, and it is not present (at least find
can
> not find it).  There is a directory rt, which contains (as the 
> openjdk-6-src package does) the run time source, but I can not find the
> source of the compiler in that.

OpenJDK source tarball is a kind of complicated beast :)
For example, there is embedded tarballs for each subcomponents :
- hotspot-20090513.tar.gz for Hotspot JIT VM
- openjdk-6-src-b16-24_apr_2009-dfsg.tar.gz for OpenJDK classpath and
langtool
- and also use cacao-source package to build Cacao VM

You can find TreeMaker.java inside openjdk*.tar.gz :

$> tar ztf ./openjdk-6-src-b16-24_apr_2009-dfsg.tar.gz | grep TreeMaker
langtools/src/share/classes/com/sun/tools/javac/tree/TreeMaker.java

Regards,
-- 
Damien - Debian Developper
http://wiki.debian.org/DamienRaudeMorvan


Reply to: