summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorChristopher Tubbs <ctubbsii@apache.org>2021-02-04 14:13:24 -0500
committerJens Geyer <jensg@apache.org>2021-02-04 22:10:30 +0100
commitebfa771a26e406da947f72ae8d87602c892435cc (patch)
tree057fa405165d395fefbabe9e7f505a25bbcdfcb9 /Makefile.am
parent518163afbd7c4f6733d12fa6f2de3db612fda947 (diff)
downloadthrift-ebfa771a26e406da947f72ae8d87602c892435cc.tar.gz
THRIFT-5274: Enforce Java 8 compatibility
Client: Java Patch: Christopher Tubbs This closes #2325 * Enforce Java 8 compatibility using the new `--release` flag introduced in JDK9, so that all generated bytecode follows Java 8 strict compatibility, even when building with newer JDK versions (9 or later) (this fixes NoSuchMethodError with ByteBuffer, and other potential incompatibilities in bytecode generation that would make the code unable to run on a Java 8 JRE) * Also strictly enforce the JDK version used to build the project by ensuring it is at least version 1.8, and will fail fast when building the Java libraries if this condition is not met.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions