Removal of sample code from tools.jar

Staffan Larsen staffan.larsen at oracle.com
Mon Nov 11 05:23:47 PST 2013


I put a comment in the bug report. In essence this package contains the code for the ‘jdb’ command line debugger which is shipped as a supported tool in the JDK. I don’t think we can simply remove it.

/Staffan

On 08 Nov 2013, at 14:39, Andreas Lundblad <andreas.lundblad at oracle.com> wrote:

> Regarding bug JDK-8008602: Sample code in tools.jar.
> 
> Does anyone have any insight in whether or not the JPDA example code in com.sun.tools.example.** 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