This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I'm checking this in on the BC branch.This is actually a bug in _Jv_CheckAccess. It shouldn't need to initialize classes, rather Class objects should always have their ancestors/interface tables linked by the time we call it. In this case, that should always be true, because _Jv_PrepareConstantTimeTables will be called before vtable layout.
My previous patch didn't take into account that _Jv_CheckAccess will initialize classes. This caused some problems when trying to run Eclipse. Fixed as appended.
* prims.cc (_Jv_CheckAccessNoInit): New method.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |