[Bug 723] New: AccessControlException while downloading resource
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Mon May 16 10:11:12 PDT 2011
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=723
Summary: AccessControlException while downloading resource
Product: IcedTea-Web
Version: hg
Platform: all
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: NetX
AssignedTo: omajid at redhat.com
ReportedBy: omajid at redhat.com
CC: unassigned at icedtea.classpath.org
Running PasswordStore (a swing demo
at:http://download.oracle.com/javase/tutorial/ui/overview/demo.html) causes an
AccessControlException. This is a regression; older versions of javaws ran this
fine.
Steps to reproduce:
$ rm -rf ~/.icedtea*
$ ~/code/icedtea-web-image/bin/javaws
http://download.oracle.com/javase/tutorialJWS/ui/PasswordStore.jnlp
java.security.AccessControlException: access denied (java.io.FilePermission
/home/omajid/.icedtea/cache/recently_used read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:393)
at
java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at
net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLPSecurityManager.java:285)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.File.exists(File.java:748)
at
net.sourceforge.jnlp.cache.CacheLRUWrapper.lock(CacheLRUWrapper.java:185)
at
net.sourceforge.jnlp.cache.CacheUtil.getCacheFile(CacheUtil.java:301)
at net.sourceforge.jnlp.cache.CacheEntry.<init>(CacheEntry.java:56)
at
net.sourceforge.jnlp.cache.ResourceTracker.initializeResource(ResourceTracker.java:765)
at
net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:609)
at
net.sourceforge.jnlp.cache.ResourceTracker.access$400(ResourceTracker.java:70)
at
net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1103)
at java.lang.Thread.run(Thread.java:679)
$ ll /home/omajid/.icedtea/cache/recently_used
-rw-------. 1 omajid omajid 398 May 16 13:07
/home/omajid/.icedtea/cache/recently_used
--
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