Check for problems with ByteBuffer covariant return types when building with JDK 9+
Open
component: dev
P3
type=defect
- Dominant language
- Java
- Stars
- 818
- Forks
- 112
- Avg merge
- 12m
- Merged PRs (30d)
- 5
Description
Caliper uses `ByteBuffer`, so building it with JDK 9+ may make it fail at runtime under Java 8 or lower, similar to:
- https://github.com/protocolbuffers/protobuf/issues/7827
- https://github.com/google/guava/pull/3994
- https://github.com/grpc/grpc-java/issues/7348
But I haven't checked any more detail than that.
Contributor guide
Assessment
This issue has not been assessed yet.