RFC: Make javax.jnlp package visible to javac

Andrew John Hughes gnu_andrew at member.fsf.org
Thu Jun 4 17:49:34 PDT 2009


2009/6/4 Omair Majid <omajid at redhat.com>:
> Hi,
>
> Sun's documentation states that javac should be able to compile code that
> uses javax.jnlp once jnlp.jar is added to the classpath [1]. IcedTea6,
> however, has no jnlp.jar, and javax.jnlp.* classes are already in rt.jar. It
> turns out that you have to use 'javac -XDignore.symbol.file OnlineTest.java'
> for this to work [2].
>
> The attached patch adds javax.jnlp to NON_CORE_PKGS list, making it visible
> to javac.
>
> ChangeLog:
> 2009-06-04  Omair Majid  <omajid at redhat.com>
>
>    * patches/icedtea-webstart.patch: Make javax.jnlp classes visible.
>
> Ok to commit?
>
> Cheers,
> Omair
>
>
> [1]
> http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/examples.html#Introduction
> [2] http://andrew-haley.livejournal.com/695.html
>

Looks good to me (though seems strange the Makefile is under docs...).

Did we ever work out if there was a good reason for keeping this
symbol mapping stuff?
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list