[ http://jira.codehaus.org/browse/SUREFIRE-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated SUREFIRE-75: --------------------------------- Affects Version/s: 1.5.2 (2.1.2 plugin) 1.5.3 (2.1.3 plugin) Fix Version/s: 2.0 (2.2 plugin) > Surefire forking doesn't work on Java 1.3 > ----------------------------------------- > > Key: SUREFIRE-75 > URL: http://jira.codehaus.org/browse/SUREFIRE-75 > Project: Maven Surefire > Issue Type: Bug > Affects Versions: 1.5.2 (2.1.2 plugin), 1.5.3 (2.1.3 plugin) > Environment: Win XP / java sun 1.5.0_06. > Reporter: David J. M. Karlsen > Assigned To: Brett Porter > Fix For: 2.0 (2.2 plugin) > > > When using the forkMode option, and setting JVM to a: > Classic VM (build 1.3.1, J2RE 1.3.1 IBM Windows 32 build cn131-20030711a (JIT > enabled: jitc)) > which does not implement the java.lang.String.split method which was > introduced in java 1.4, the test will fail with the error message "There are > some test failure" because the fork fails: > Exception in thread "main" java.lang.NoSuchMethodError: java.lang.String: > method split(Ljava/lang/String;)[Ljava/lang/St > ring; not found > at > org.apache.maven.surefire.SurefireBooter.createForkingClassLoader(SurefireBooter.java:264) > at > org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:628) > Configuration: > <forkMode>pertest</forkMode> > <jvm>C:\Program Files\IBM\WebSphere Studio\Application > Developer\v5.1.2\runtimes\base_v5\java\jre\bin\java</jvm> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira