Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for problems with ByteBuffer covariant return types when building with JDK 9+ #432

Open
cpovirk opened this issue Aug 21, 2020 · 2 comments
Labels
component: dev P3 type=defect Bug, not working as expected

Comments

@cpovirk
Copy link
Member

cpovirk commented Aug 21, 2020

Caliper uses ByteBuffer, so building it with JDK 9+ may make it fail at runtime under Java 8 or lower, similar to:

But I haven't checked any more detail than that.

@cpovirk cpovirk added type=defect Bug, not working as expected component: dev P3 labels Aug 21, 2020
@cpovirk
Copy link
Member Author

cpovirk commented Aug 21, 2020

Probably at least one affected line:

@cpovirk
Copy link
Member Author

cpovirk commented Dec 6, 2021

(#458 will fix the current error, but I'll leave this open to track automatically detecting any future such problems.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dev P3 type=defect Bug, not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant