Bug 21222 - must restrict access to gnu.classpath.*
Summary: must restrict access to gnu.classpath.*
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcj (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks: 13603
  Show dependency treegraph
 
Reported: 2005-04-25 19:51 UTC by Tom Tromey
Modified: 2016-09-30 22:50 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-07-23 05:40:42


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2005-04-25 19:51:45 UTC
Access to gnu.classpath.* classes must be restricted to
classes loaded by the bootstrap loader.  See this thread:

http://lists.gnu.org/archive/html/classpath-patches/2004-12/msg00035.html

Ostensibly this is done by setting the package.access property,
but this does not seem to be done anywhere in Classpath...
Comment 1 Andrew Pinski 2005-04-25 20:35:30 UTC
Confirmed.
Comment 2 Mark Wielaard 2005-04-25 21:01:29 UTC
the package.access Security property should be set whenever the
classpath.security file is read and it defines such a property. At the moment
the default classpath.security file doesn't have such a property.

Also note that we never do a SecurityManger.definePackage() check or define the
package.definition Security property (in classpath.security).
Comment 3 Andrew Pinski 2016-09-30 22:50:05 UTC
Closing as won't fix as libgcj (and the java front-end) has been removed from the trunk.