8286891: thread_local causes undefined symbol error with XL C
Reviewed-by: mdoerr, mbaesken, jvernee
This commit is contained in:
parent
a10c5597d9
commit
25080e0c3a
@ -47,6 +47,7 @@ extern struct JavaVM_ main_vm;
|
|||||||
struct UpcallContext {
|
struct UpcallContext {
|
||||||
Thread* attachedThread;
|
Thread* attachedThread;
|
||||||
|
|
||||||
|
UpcallContext() {} // Explicit constructor to address XL C compiler bug.
|
||||||
~UpcallContext() {
|
~UpcallContext() {
|
||||||
if (attachedThread != NULL) {
|
if (attachedThread != NULL) {
|
||||||
JavaVM_ *vm = (JavaVM *)(&main_vm);
|
JavaVM_ *vm = (JavaVM *)(&main_vm);
|
||||||
|
Loading…
Reference in New Issue
Block a user