BZ #113: failed OpenJDK jdk test java/lang/Class/getModifiers/StripACC_SUPER

Status fields:

creation_ts:2008-10-23 18:12
component:vm
version:unspecified
rep_platform:All
op_sys:All
bug_status:RESOLVED
resolution:FIXED
reporter:michi@complang.tuwien.ac.at
When returning the modifiers of a class with class_get_modifiers() the internal
ACC_SUPER flag is not removed from the class flags. Since this bit collides with the
ACC_SYNCHRONIZED bit, it appears that the class is synchronized, which doesn't make any
sense.

This only applies to OpenJDK builds since GNU Classpath explicitly masks the modifiers
returned by the VM.

Fixing this should be easy.

Comment #1 by michi@complang.tuwien.ac.at on 2008-10-23 18:34:55

The Fix: http://mips.complang.tuwien.ac.at/hg/cacao/rev/8149a495b376
Regression test: http://mips.complang.tuwien.ac.at/hg/cacao/rev/9f0f4f8311c0