Skip to content

Fails on JDK 14? #22

@grischoun

Description

@grischoun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions