mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8261395: C1 crash "cannot make java calls from the native compiler"
Co-authored-by: Ioi Lam <iklam@openjdk.org> Co-authored-by: Coleen Phillimore <coleenp@openjdk.org> Reviewed-by: iklam, hseigel, coleenp
This commit is contained in:
parent
3c47cab6db
commit
e828a939a8
4 changed files with 186 additions and 59 deletions
|
@ -479,8 +479,9 @@ class InstanceKlass: public Klass {
|
|||
void set_permitted_subclasses(Array<u2>* s) { _permitted_subclasses = s; }
|
||||
|
||||
private:
|
||||
// Called to verify that k is a member of this nest - does not look at k's nest-host
|
||||
bool has_nest_member(InstanceKlass* k, TRAPS) const;
|
||||
// Called to verify that k is a member of this nest - does not look at k's nest-host,
|
||||
// nor does it resolve any CP entries or load any classes.
|
||||
bool has_nest_member(JavaThread* current, InstanceKlass* k) const;
|
||||
|
||||
public:
|
||||
// Used to construct informative IllegalAccessError messages at a higher level,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue