JDWP in the recent OpenJDK drop
Tim Bell
Tim.Bell at Sun.COM
Mon May 14 20:21:20 UTC 2007
Greetings Andrew:
> I'm currently in the process of trying to build the tools separate from the
> OpenJDK build, firstly so I have a tools.jar in order to attempt a build of
> the whole thing without a JDK and secondly so things like javadoc, apt, etc.
> can be made available separately.
>
> I've run across a problem in doing this. In com.sun.tools.jdi, there are
> numerous references to a com.sun.tools.jdi.JDWP class, but I can't for the
> life of me seem to find this anywhere in the OpenJDK drop (grep and find
> searches have proved futile). Is this being shipped, or is it being held
> back for now? Or am I looking in the wrong place?
The JDWP documentation and the .java files are generated during the build.
That's why you don't find it when looking through the source files. This
was not a move to obfuscate anything, but to make sure the doc and the code
are always in agreement.
The input file is j2se/src/share/classes/com/sun/tools/jdwpgen/jdwp.spec
Look at j2se/make/jpda/jdwpgen/Makefile
The transformation tool is defined here:
j2se/src/share/classes/com/sun/tools/jdwpgen/*.java
Hope this helps - Tim Bell
More information about the build-dev
mailing list