bazelbuild / bazelbuild/rules_java

Use @argument files in the Java binary wrapper script

Abierto
#331 21 comentarios 0 reacciones 0 asignados Ver en GitHub
P3
Lenguaje dominante
Starlark
Estrellas
103
Forks
102
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

The Java binary wrapper script works around command line length limits by creating a jar file with a `Class-Path` manifest entry containing the long classpath (related: bazelbuild/bazel#6289).

JDK 9 adds support for flag files using the `@argument-file` syntax, see "java Command-Line Argument Files" in https://docs.oracle.com/javase/9/tools/java.htm.

We should use that instead of the manifest jar hack when targeting JDK 9.

We could back-fill support for that syntax for older --javabase versions by adding logic to the wrapper script.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.