maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1552366 - /maven/shared/trunk/maven-verifier/src/test/java/org/apache/maven/it/VerifierTest.java
Date Thu, 19 Dec 2013 17:27:34 GMT
Author: krosenvold
Date: Thu Dec 19 17:27:34 2013
New Revision: 1552366

URL: http://svn.apache.org/r1552366
Log:
Added testcase to verify if sun bug 9009028 has been fixed. This testcase will fail on current
jdk 1.8 ea version

Modified:
    maven/shared/trunk/maven-verifier/src/test/java/org/apache/maven/it/VerifierTest.java

Modified: maven/shared/trunk/maven-verifier/src/test/java/org/apache/maven/it/VerifierTest.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-verifier/src/test/java/org/apache/maven/it/VerifierTest.java?rev=1552366&r1=1552365&r2=1552366&view=diff
==============================================================================
--- maven/shared/trunk/maven-verifier/src/test/java/org/apache/maven/it/VerifierTest.java
(original)
+++ maven/shared/trunk/maven-verifier/src/test/java/org/apache/maven/it/VerifierTest.java
Thu Dec 19 17:27:34 2013
@@ -31,6 +31,12 @@ public class VerifierTest
         assertEquals( expected, ForkedLauncher.extractMavenVersion( Arrays.asList( lines
) ) );
     }
 
+    public void testSunBug9009028ForJdk(){
+        final String version = System.getProperty("java.version");
+        System.setProperties(null);
+        assertEquals( version, System.getProperty("java.version"));
+    }
+
     public void testExtractMavenVersion()
     {
         check( "2.0.6", "Maven version: 2.0.6" );



Mime
View raw message