Community
Participate
Working Groups
build I20071107-1300 'new BindingKey("Ltest/ZZ<Ljava/lang/Object;>;").isRawType()' returns true but this is not the binding key of a raw type. The problem is that the code of isRawType() is: public boolean isRawType() { KeyKind kind = new KeyKind(this.key); kind.parse(); return (kind.flags & KeyKind.F_RAW_TYPE) != 0; } The value of F_PARAMETERIZED_TYPE is 0x01000 and the value of F_RAW_TYPE is 0x01001. So '(kind.flags & KeyKind.F_RAW_TYPE) != 0' is true when kind.flags value is F_PARAMETERIZED_TYPE.
Created attachment 82854 [details] Proposed fix and regression test
Fix and test released for 3.4M4
Verified for 3.4 M4 using build I20071211-0010.