[Bug 741] Fails to create a shortcut if the resource is local
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Mon Jun 6 10:21:09 PDT 2011
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=741
Andrew Su <asu at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |asu at redhat.com
--- Comment #3 from Andrew Su <asu at redhat.com> 2011-06-06 17:21:08 ---
Hello Omair,
There's a slight issue with the patch, it can cause a NPE to be throw.
This is result of the change to the line:
+ URL localUrl = CacheUtil.getCachedResource(file.getSourceLocation(),
null, null);
in ApplicationInstance.java, since further down the chain of calls, it tries to
access a method in the third parameter (which is an UpdatePolicy) without doing
any kind of check for null.
you can see this behavior by trying out the following:
http://download.oracle.com/javase/tutorialJWS/ui/PasswordStore.jnlp
--Andrew
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the distro-pkg-dev
mailing list