Permission Analysis Report
Analysis of: org.eclipse.core.runtime
Detail
Class: org.eclipse.core.internal.preferences.PreferenceForwarder (Application)
DoPrivileged location: Line# 791 void load( java.io.InputStream )
Permission: java.util.PropertyPermission "java.vendor.url.bug", "read"
Primordial/void java.util.Properties.load( java.io.InputStream )
CODE
public void load(InputStream in) throws IOException {
Properties result = new Properties();
result.load(in);
convertFromProperties(result);
// We loaded the prefs from a non-default location so now
// store them to disk. This also clears the dirty flag
// and therefore sets the #needsSaving() state correctly.
try {
flush();
} catch (BackingStoreException e) {
throw new IOException(e.getMessage());
}
}
Tainted variable reference trace:
Permission Requirements:
- permission java.util.PropertyPermission "java.vendor.url.bug", "read";
Conclusion:
Very common property permissino, add the above permission to OSGI's implied.permissions file.