octet icon indicating copy to clipboard operation
octet copied to clipboard

Fails on JDK 14?

Open grischoun opened this issue 5 years ago • 0 comments

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 avatar Jun 17 '20 14:06 grischoun