porunov opened a new pull request, #3489: URL: https://github.com/apache/tinkerpop/pull/3489
Modernizes TinkerPop 4.0 to build and run on Java 25 and upgrades the Spark OLAP integration to Spark 4.1. Because Spark 4 requires Java 17 as a minimum, the project-wide minimum Java version is raised from 11 to 17. Java 25 support: - Groovy 4.0.25 -> 4.0.32 (bundled ASM parses Java 25 bytecode) - StringFactory: detect the Java 21+ lambda class name format ($$Lambda/) - LambdaRestrictionStrategy: match "lambda" case-insensitively - ImportGremlinPluginTest: account for Math.TAU added in Java 19 - gremlin-groovy: declare annotationProcessorPaths explicitly (JDK 23+ no longer runs classpath-discovered processors) and widen the javadoc groovy-stubs profile to all supported JDKs - gremlin-console: apply the neo4j-gremlin --add-opens flags for JDK 17+ Dependency upgrades: - Hadoop 3.4.2 -> 3.4.3 (uses the Subject.current()/callAs() replacement APIs, so hadoop-gremlin runs on Java 25) - Spark 3.5.4 -> 4.1.2, which is Scala 2.13 only and the first Spark line to support Java 25. Switched spark-core_2.12 -> _2.13, ported the Scala 2.13 changes (JavaConversions -> CollectionConverters, WrappedArray -> immutable ArraySeq) and aligned Netty, jackson (via jackson-bom) and other transitive versions that Spark 4 requires - Netty 4.1.125 -> 4.2.7 (required by Spark 4) Java 17 baseline (breaking): - enforcer requireJavaVersion [11,18) -> [17,26); compiler release 11 -> 17 (and gremlin-groovy/gremlin-annotations release 8 -> 17) - build-test.yml: all jobs run on Java 17, plus a new Java 25 job; the Java 11 job is removed and coverage runs on the Java 17 job - Dockerfiles and developer docs updated to Java 17 Validated with a full `mvn clean install` on both Java 17 and Java 25 (all JVM modules, including hadoop-gremlin and spark-gremlin). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
