You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/05/01 05:14:33 UTC
[jira] Closed: (MSUREFIRE-86) Surefire forking doesn't work on Java
1.3
[ http://jira.codehaus.org/browse/MSUREFIRE-86?page=all ]
Brett Porter closed MSUREFIRE-86:
---------------------------------
Assign To: Brett Porter
Resolution: Fixed
Fix Version: (was: 2.1.4)
PPXW fixed on 2.2 branch
> Surefire forking doesn't work on Java 1.3
> -----------------------------------------
>
> Key: MSUREFIRE-86
> URL: http://jira.codehaus.org/browse/MSUREFIRE-86
> Project: Maven 2.x Surefire Plugin
> Type: Bug
> Versions: 2.1.3, 2.1.2
> Environment: Win XP / java sun 1.5.0_06.
> Reporter: David J. M. Karlsen
> Assignee: Brett Porter
> Fix For: 2.2
>
>
> 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