This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch jdk-16-17
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit 5681a8e0782d157ffd292f41c0d874e6f82e52ec
Author: tibordigana <tibordig...@apache.org>
AuthorDate: Fri Feb 26 12:35:06 2021 +0100

    excluded java 16 in UmlautDirIT
---
 .../src/test/java/org/apache/maven/surefire/its/UmlautDirIT.java   | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git 
a/surefire-its/src/test/java/org/apache/maven/surefire/its/UmlautDirIT.java 
b/surefire-its/src/test/java/org/apache/maven/surefire/its/UmlautDirIT.java
index e0095e0..8bcdfd4 100644
--- a/surefire-its/src/test/java/org/apache/maven/surefire/its/UmlautDirIT.java
+++ b/surefire-its/src/test/java/org/apache/maven/surefire/its/UmlautDirIT.java
@@ -33,6 +33,7 @@ import java.nio.file.Files;
 import java.nio.file.Path;
 import java.nio.file.Paths;
 
+import static 
org.apache.maven.surefire.its.fixture.HelperAssertions.assumeJavaVersionExcluded;
 import static java.nio.file.Files.copy;
 import static java.nio.file.Files.createDirectories;
 import static java.nio.file.Files.exists;
@@ -53,6 +54,12 @@ public class UmlautDirIT extends 
SurefireJUnit4IntegrationTestCase
     @Before
     public void backupLocalRepo()
     {
+        // We touched the Javac bug, see the discussion [1].
+        // The fix [2] will be in Java 17, not in Java 16. So we cannot use 
Java 16 then!
+        // [1]: 
http://ant.1045680.n5.nabble.com/JDK-16-is-in-Rampdown-Phase-One-td5720549.html#a5720552
+        // [2]: https://bugs.openjdk.java.net/browse/JDK-8258246
+        assumeJavaVersionExcluded( 16 );
+
         localRepo = System.getProperty( "maven.repo.local" );
     }
 

Reply via email to