RFC: Make javax.jnlp package visible to javac

Omair Majid omajid at redhat.com
Thu Jun 4 11:51:15 PDT 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea6-make-javax-jnlp-visible.patch
Type: text/x-patch
Size: 947 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090604/7db6dc81/icedtea6-make-javax-jnlp-visible.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OnlineTest.java
Type: text/x-java
Size: 402 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090604/7db6dc81/OnlineTest.java 


More information about the distro-pkg-dev mailing list