problem with <java package>.getSpecificationVersion()
Brought to you by:
jiriki
Hello,
in latest Hansel 1.02, I could not run my tests
(strange failures happened, from my TestCase's setUp()
methods, something like
java.lang.ExceptionInInitializerError. Found the reason
to be this code in a static initialize in one of my
classes:
Package pack = Package.getPackage("bla.blu.bli");
String vers = pack.getSpecificationVersion();
The second line of code did not work with Hansel ... No
idea if it's only preventing Hansel from working when
placed in a static initializer ...
Works great besides from my issue with this special
packages stuff!!! :-)
cu
Merten
Logged In: YES
user_id=773638
forgot to mention: it's not a show stopper for me! When I
use the problematic class before my tests (to let the static
initializer run) Hansel works fine!
Merten