mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
78937749e8
When checking to see if a calling method has permission to access a class/constructor with package-level scope, walk two levels up the stack, instead of one, since the immediate caller is always java.lang.newInstance(). In addition to creating the object, invoke it's zero-argument constructor.