[otj-users] [Bug ?]: static final constant in role not
initialized/error
Andreas Werner
andreas at wernerx.de
Wed Mar 21 01:56:44 CET 2007
Hi folks,
what about a public static final constant inside a role class, that is
initialized via a static method of that role or the role's base.
Is this OK? (OTDT shows no warning etc.)
If yes, one gets
- a java.lang.VerifyError, when the method is a role member
- a null value for the constant, when the method is a base member
If no, the OTDT should show an error marker. :)
I attached an example in Test.zip.
Regards, Andreas
PS: I'm using OTDT 0.9.28
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.zip
Type: application/zip
Size: 1852 bytes
Desc: not available
Url : http://collegium-musicum.tu-berlin.de/pipermail/otj-users/attachments=
/20070321/290667ed/Test.zip
More information about the otj-users
mailing list