[Git][java-team/carrotsearch-randomizedtesting][upstream] New upstream version 2.7.9

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Tue Jan 10 16:05:29 GMT 2023



Emmanuel Bourg pushed to branch upstream at Debian Java Maintainers / carrotsearch-randomizedtesting


Commits:
489f8bc7 by Emmanuel Bourg at 2023-01-10T16:57:44+01:00
New upstream version 2.7.9
- - - - -


12 changed files:

- CHANGES.txt
- examples/ant/pom.xml
- examples/maven/pom.xml
- examples/security-manager/pom.xml
- junit4-ant/pom.xml
- junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java
- junit4-maven-plugin-tests/pom.xml
- junit4-maven-plugin/pom.xml
- pom.xml
- randomized-runner/pom.xml
- randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/RandomizedTest.java
- randomized-runner/src/test/java/com/carrotsearch/randomizedtesting/generators/TestRealisticUnicodeGenerator.java


Changes:

=====================================
CHANGES.txt
=====================================
@@ -5,6 +5,16 @@ RandomizedTesting, Change Log
 For an up-to-date CHANGES file see 
 https://github.com/randomizedtesting/randomizedtesting/blob/master/CHANGES
 
+======================= randomizedtesting 2.7.9 ====================
+
+Other:
+
+  * Update ASM to 9.2 to support JDK 17
+
+  * Update JUnit dependency to 4.13.1.
+
+  * Update Ant dependency to 1.9.15.
+
 ======================= randomizedtesting 2.7.8 ====================
 
 Improvements


=====================================
examples/ant/pom.xml
=====================================
@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.carrotsearch.randomizedtesting</groupId>
     <artifactId>randomizedtesting-parent</artifactId>
-    <version>2.7.8</version>
+    <version>2.7.9</version>
     <relativePath>../../pom.xml</relativePath>
   </parent>
 


=====================================
examples/maven/pom.xml
=====================================
@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.carrotsearch.randomizedtesting</groupId>
     <artifactId>randomizedtesting-parent</artifactId>
-    <version>2.7.8</version>
+    <version>2.7.9</version>
     <relativePath>../../pom.xml</relativePath>
   </parent>
 


=====================================
examples/security-manager/pom.xml
=====================================
@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.carrotsearch.randomizedtesting</groupId>
     <artifactId>randomizedtesting-parent</artifactId>
-    <version>2.7.8</version>
+    <version>2.7.9</version>
     <relativePath>../../pom.xml</relativePath>
   </parent>
 


=====================================
junit4-ant/pom.xml
=====================================
@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.carrotsearch.randomizedtesting</groupId>
     <artifactId>randomizedtesting-parent</artifactId>
-    <version>2.7.8</version>
+    <version>2.7.9</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 


=====================================
junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java
=====================================
@@ -1835,7 +1835,7 @@ public class JUnit4 extends Task {
             final TestClass testClass = new TestClass();
             ClassReader reader = new ClassReader(is);
             @SuppressWarnings("deprecation")
-            ClassVisitor annotationVisitor = new ClassVisitor(Opcodes.ASM8) {
+            ClassVisitor annotationVisitor = new ClassVisitor(Opcodes.ASM9) {
               @Override
               public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
                 String className = Type.getType(desc).getClassName();


=====================================
junit4-maven-plugin-tests/pom.xml
=====================================
@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.carrotsearch.randomizedtesting</groupId>
     <artifactId>randomizedtesting-parent</artifactId>
-    <version>2.7.8</version>
+    <version>2.7.9</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 


=====================================
junit4-maven-plugin/pom.xml
=====================================
@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.carrotsearch.randomizedtesting</groupId>
     <artifactId>randomizedtesting-parent</artifactId>
-    <version>2.7.8</version>
+    <version>2.7.9</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 


=====================================
pom.xml
=====================================
@@ -11,7 +11,7 @@
 
   <groupId>com.carrotsearch.randomizedtesting</groupId>
   <artifactId>randomizedtesting-parent</artifactId>
-  <version>2.7.8</version>
+  <version>2.7.9</version>
   <packaging>pom</packaging>
 
   <name>RandomizedTesting Parent POM</name>
@@ -65,8 +65,8 @@
 
     <gpg.passphrase></gpg.passphrase>
 
-    <version.junit>4.12</version.junit>
-    <version.ant>1.9.11</version.ant>
+    <version.junit>4.13.1</version.junit>
+    <version.ant>1.9.15</version.ant>
     <version.assertj>2.2.0</version.assertj>
 
     <version.maven-antrun-plugin>1.8</version.maven-antrun-plugin>
@@ -134,7 +134,7 @@
       <dependency>
         <groupId>org.ow2.asm</groupId>
         <artifactId>asm</artifactId>
-        <version>8.0.1</version>
+        <version>9.2</version>
       </dependency>
 
       <dependency>
@@ -550,7 +550,7 @@
         <repository>
           <id>sonatype-nexus-staging</id>
           <name>Sonatype Nexus Releases</name>
-          <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
+          <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
         </repository>
       </distributionManagement>
 


=====================================
randomized-runner/pom.xml
=====================================
@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.carrotsearch.randomizedtesting</groupId>
     <artifactId>randomizedtesting-parent</artifactId>
-    <version>2.7.8</version>
+    <version>2.7.9</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 


=====================================
randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/RandomizedTest.java
=====================================
@@ -4,6 +4,7 @@ import java.io.Closeable;
 import java.io.IOException;
 import java.net.ServerSocket;
 import java.nio.charset.Charset;
+import java.nio.charset.StandardCharsets;
 import java.nio.file.*;
 import java.nio.file.attribute.BasicFileAttributes;
 import java.text.SimpleDateFormat;
@@ -48,10 +49,10 @@ public class RandomizedTest {
 
   /* Commonly used charsets (these must be supported by every JVM). */
 
-  protected static final Charset UTF8 = Charset.forName("UTF-8");
-  protected static final Charset UTF16 = Charset.forName("UTF-16");
-  protected static final Charset ISO8859_1 = Charset.forName("ISO-8859-1");
-  protected static final Charset US_ASCII = Charset.forName("US-ASCII");
+  protected static final Charset UTF8 = StandardCharsets.UTF_8;
+  protected static final Charset UTF16 = StandardCharsets.UTF_16;
+  protected static final Charset ISO8859_1 = StandardCharsets.ISO_8859_1;
+  protected static final Charset US_ASCII = StandardCharsets.US_ASCII;
 
   /* This charset does not need to be supported, but I don't know any JVM under which it wouldn't be. */
   


=====================================
randomized-runner/src/test/java/com/carrotsearch/randomizedtesting/generators/TestRealisticUnicodeGenerator.java
=====================================
@@ -2,6 +2,6 @@ package com.carrotsearch.randomizedtesting.generators;
 
 public class TestRealisticUnicodeGenerator extends StringGeneratorTestBase {
   public TestRealisticUnicodeGenerator() {
-    super(new UnicodeGenerator());
+    super(new RealisticUnicodeGenerator());
   }
 }



View it on GitLab: https://salsa.debian.org/java-team/carrotsearch-randomizedtesting/-/commit/489f8bc7791f6e972ebf3e3a0be6dc32b5343727

-- 
View it on GitLab: https://salsa.debian.org/java-team/carrotsearch-randomizedtesting/-/commit/489f8bc7791f6e972ebf3e3a0be6dc32b5343727
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20230110/13151738/attachment.htm>


More information about the pkg-java-commits mailing list