Hi!
Reviewing BCEL method Utility.swallowUnknownAttribute(...), I think
the same approach can be used for all other attributes that we ignore,
ignoring their internal structure.
That is: we know length of their data. In Attribute.readAttribute():
// Length of data in bytes
length = file.readInt();
I have yet to verify this with specification, but it looks promising.
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]