I noticed that when running tests in the AS testsuite the jvm used to run the junit tests
seems to be wrong.
There is a property called ${junit.jvm} which is never set. The default value of this is
just "java".
Although it should use the one specified in $JAVA_HOME instead the one found on the
$PATH.
Basically i use jdk5 to compile and run AS and the tests. But it then executes the test
itself
with openjdk 1.6. This leads to some annoying behavior - e.g. failing tests, because of a
serialVersionUID change in a sun class.
Can someone fix that for all jdks and OSes? As i could just test that for my local
installation :)
I mean i can workaround that for the moment setting
ANT_OPTS="-Djunit.jvm=/path/to/my/jdk",
but i guess this could also affect the hudson runs at one point.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209423#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...