add --release 8 arguments to JDK9+ build profiles
envgap__oracle__opengrok-2820
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
276951166ffd9da773acd13b3d98f2e54d05992e- Manifest
pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
oracle/opengrok #2820 · read the original issue
To prevent regression of #2815 the build should add `--release 8` arguments to javac when building with JDK9+ as per https://github.com/eclipse/jetty.project/issues/3244#issuecomment-495357838 e.g. `opengrok-indexer/pom.xml` contains the `java9plus` profile already that's used for surefire. It can be used for general compilation also. Similarly for other modules.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]