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

Fails on JDK 14? #22

Open
grischoun opened this issue Jun 17, 2020 · 0 comments
Open

Fails on JDK 14? #22

grischoun opened this issue Jun 17, 2020 · 0 comments

Comments

@grischoun
Copy link

I get the following error when running on openjdk version "14.0.1", but it is working fine on jdk 1.8. Is it because Octet does not support 14?

This is how I create a buffer (buf/allocate buf-len {:impl :nio :type :heap}).

And this is the error:

Caused by java.lang.IllegalArgumentException
   No matching method put found taking 2 args for class java.nio.HeapByteBuffer

            Reflector.java:  154  clojure.lang.Reflector/invokeMatchingMethod
            Reflector.java:  102  clojure.lang.Reflector/invokeInstanceMethod
               buffer.cljc:  169  octet.buffer$eval6129$fn__6164/invoke
               buffer.cljc:   74  octet.buffer$eval5990$fn__6019$G__5977__6028/invoke
                basic.cljc:   51  octet.spec.basic$primitive_spec$reify__6721/write
                 spec.cljc:  147  octet.spec.IndexedSpec$fn__6670/invoke

@grischoun grischoun changed the title Fails on JRE 14? Fails on JDK 14? Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant