Removal of sample code from tools.jar

Andreas Lundblad andreas.lundblad at
Fri Nov 8 05:39:47 PST 2013

Regarding bug JDK-8008602: Sample code in tools.jar.

Does anyone have any insight in whether or not the JPDA example code in** should be kept, or if should be removed altogether?

AFAIK no code outside of the example package depends upon it. The build does however fail with

    "make[2]: *** No rule to make target `.../tl/jdk/src/share/classes/com/sun/tools/example/README', needed by `.../tl/build/linux-x86_64-normal-server-release/jdk/demo/jpda/com/sun/tools/example/README'.  Stop."

and I can't find the reason while browsing / grepping in the make files.

Any input on the matter would be greately appreciated.

best regardrs,
Andreas Lundblad

More information about the serviceability-dev mailing list