[Bug 453] New: OpenJDK does not resolve permissions correctly

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Wed Mar 17 14:55:08 PDT 2010


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=453

           Summary: OpenJDK does not resolve permissions correctly
           Product: IcedTea
           Version: unspecified
          Platform: all
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: IcedTea6
        AssignedTo: unassigned at icedtea.classpath.org
        ReportedBy: dbhole at redhat.com


This is an upstream bug, adding it here as a placeholder.

The attached code when run with Sun VM vs OpenJDK yields different results.
With Sun, it reports that files in java.ext.dirs have AllPermission (correct).
With OpenJDK, it says that the files in  java.ext.dirs do not have
AllPermission (incorrect).

The issue is in the way permission implications are checked. Sun's code appears
to ignore/strip away the "jar:" we don't, causing PolicyFile::addPermissions()
to think the given cs and the cs from policy are different when they are not.


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list