8000623: tools/javac/Diagnostics/6769027/T6769027.java crashes in PSPromotionManager::copy_to_survivor_space

Fix type of method pointer load from vtable.

Reviewed-by: twisti, johnc, roland
This commit is contained in:
Vladimir Kozlov 2012-10-17 12:09:32 -07:00
parent 515f1281e1
commit 2d3b78abcc
3 changed files with 3 additions and 3 deletions

View file

@ -149,7 +149,7 @@ class Compile : public Phase {
private:
BasicType _type;
union {
jvalue _value;
jvalue _value;
Metadata* _metadata;
} _v;
int _offset; // offset of this constant (in bytes) relative to the constant table base.