Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.3
-
None
Description
Run a Surefire test with a different JVM using the -Djvm argument. For example, run the test with JDK 1.4 while running Maven with a 1.5 or 1.6 JVM.
Examine the XML file in target/surefire-reports corresponding to your test. The java.* properties will match the parent process, not the forked process. For example, <property name="java.version" value="1.6.0_02"/>.
Attachments
Issue Links
- is depended upon by
-
SUREFIRE-510 surefire.test.class.path is not set when forkMode is always
- Closed
- is duplicated by
-
SUREFIRE-461 -Xbootclasspath specified in <argLine> not passed to forked JVM
- Closed
-
SUREFIRE-552 CLONE --Xbootclasspath specified in <argLine> not passed to forked JVM
- Closed
- relates to
-
SUREFIRE-121 System properties set on the command line get clobbered
- Closed
-
SUREFIRE-512 Provided Properties no longer visible in Surefire-Tests
- Closed