[fedora-java] Including classes from Sun's demo code in a Fedora package

Mark Wielaard mark at klomp.org
Wed Feb 11 10:33:19 UTC 2009


Hi Mary,

On Mon, 2009-02-09 at 13:53 +0100, Mary Ellen Foster wrote:
> I'm currently reviewing simplyhtml, an HTML editor that's written in Java:
>     https://bugzilla.redhat.com/show_bug.cgi?id=462521
> 
> The distributed source includes two files, ElementTreePanel.java and
> ExampleFileFilter.java, which seem to have come from the demo
> applications distributed with the Sun JDK. ElementTreePanel is still
> shipped with JDK 1.6.0_12, while ExampleFileFilter last seems to have
> been included in the 1.5 JDKs. Neither file is in the
> java-1.6.0-openjdk-demo package, unfortunately, which would have made
> things easier ... :(

That ElementTreePanel.java is in the demo package, but hidden inside a
zip file:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.*/demo/jfc/Notepad/src.zip

It comes under a modern BSD-license (without nuclear clause, hurray!)
But ExampleFileFilter.java indeed isn't part of the package
unfortunately.

Cheers,

Mark




More information about the java-devel mailing list