Permission Analysis Report


Analysis of: org.eclipse.osgi

Detail


Class: org.eclipse.core.runtime.internal.stats.ResourceBundleStats (Application)
DoPrivileged location: Line# 74 void initialize( java.net.URL )
   Permission: java.util.PropertyPermission "java.vendor.url.bug", "read"
      Primordial/void java.util.Properties.load( java.io.InputStream )
   Permission: java.util.PropertyPermission "os.name", "read"
      Primordial/void java.util.Properties.load( java.io.InputStream )


CODE
/** * Compute the size of stream which represents a property file */ private void initialize(URL url) { InputStream stream = null; Properties props = new Properties(); try { try { stream = url.openStream(); fileSize = stream.available(); props.load(stream); for (Iterator iter = props.keySet().iterator(); iter.hasNext();) { String key = (String) iter.next(); keySize += sizeOf(key); valueSize += sizeOf(props.getProperty(key)); keyCount++; } hashSize = sizeOf(props); } finally { if (stream != null) stream.close(); } } catch (IOException e) { // ignore exceptions as they will be handled when the stream // is loaded for real. See callers. } }
Tainted variable reference trace:

Permission Requirements:



Conclusion: