[Task]: Upgrade Spotless and google-java-format so the build runs on JDK 26+
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- java
- Área
- build-system
Línea de trabajo
Start in the Maven build configuration where spotless-maven-plugin 2.43.0 and the googleJavaFormat version are defined. Run spotless:apply on JDK 26 or newer, upgrade the plugin to 3.10.3 and google-java-format to 1.36.1, then verify the build succeeds and only the described formatting and empty-POM-element changes remain.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What needs to happen?
The build fails on JDK 26 and newer in spotless:apply. google-java-format (the version Spotless 2.43.0 uses by default) reads the javac field JCCompilationUnit.endPositions, which newer JDKs no longer have:
java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCCompilationUnit does not have member field 'com.sun.tools.javac.tree.EndPosTable endPositions'
Proposed change
spotless-maven-plugin2.43.0 → 3.10.3- pin
googleJavaFormatto 1.36.1 (built for Java 21, Hop's current target)
Impact
The newer formatter reformats a small number of files: mostly comment indentation inside switch blocks and a few text blocks. sortPom also collapses empty pom elements to <x/>. No functional changes.
Issue Priority
Priority: 3
Issue Component
Component: Infrastructure
- Lenguaje dominante
- Java
- Estrellas
- 1.6k
- Forks
- 499
- Merge medio
- 1 d 5 h
- PR fusionados (30 d)
- 316
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/hop
-
Beam P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
awaiting triage Hop Gui P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
apache/hop#9325 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
awaiting triage Documentation P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
awaiting triage Documentation P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
awaiting triage Documentation P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
Todos los issues de apache/hop
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
CI: LFC/ANTLR caches still use the old lfc/ paths, so the ANTLR jar is downloaded on every runPosiblemente ocupada @NicoBiernat la tomó hoy. Abiertobug CI
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
lf-lang/reactor-uc#443 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Card-Forge/forge#13128 ·
Los mantenedores suelen responder en 1 día
-
client documentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
ClickHouse/clickhouse-java#3469 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día