durable-queue
durable-queue copied to clipboard
Java 13 compatiblity
This library has been a workhorse across java updates. It looks like a bit of work will be required to maintain dependability with the release of java 13 which touched on many aspects of java.nio
. The type-specific Buffer classes of java.nio now have absolute (as opposed to relative) bulk get and put methods.
java.nio.ByteBuffer and the other buffer types in java.nio now define absolute bulk get and put methods to transfer contiguous sequences of bytes without regard to or effect on the buffer position.
After upgrading to java 13, I started seeing the following error:
No matching method put found taking 2 args for class java.nio.DirectByteBuffer
Linking back to the source: https://github.com/Factual/durable-queue/blob/83452cbcc4c15a2244747e77b54a96a23e027691/src/durable_queue.clj#L176
I hope it's a small thing to fix.
It looks like this fix was never made into an official release? Is there anywhere to get this fix? I'd be nervous about maintaining my own fork.
I haven't had permission to deploy new releases of this library since roughly 2015, so cutting a new release will require some sort of fork. I'd be surprised if further changes beyond the above are required anytime soon, but if you're very concerned we can also try to see if clj-commons would like to take over this project.
I think it would be absolutely marvelous to move this to clj-commons
or to your personal account @ztellman .
Hi @ztellman if you want to set up a fork then I'd be happy to link to it from the readme. I think we could also transfer this repo to you or clj-commons directly, but I would have to look up how to do that.
Hey @wmorgan-fsq, been a while! I think it's better to transfer over the canonical repo, I can walk you through it once I confirm that clj-commons would like to take it over.
Hey thanks for bumping us on this. I had been talking to Daniel Compton via email about moving this to clj-commons a few months ago. I was following up internally on that but let it go cold in some state of security or legal review. Apologies for not being more diligent on that. I'll kick the tires on this again and see if we can get it moved.
@danielcompton sorry again I went dark on this. This is the correct GH org, right: https://github.com/clj-commons
Here's what I'm planning to do:

I think once I do that, someone on your end will get a notification to accept the transfer.
Ah, ok I tried but got this:

Yall probably have some experience with transferring into that org so maybe you can let us know how to proceed
OK done. thanks for following up on this folks. Cool to see continued interest in this project
https://github.com/clj-commons/durable-queue
ah oops i guess this issue wasnt originally about moving the repo but about something else, so i guess i'll leave it open. sorry to have hijacked the whole thread.
@worace -- I had the impression the fix was there, but hasn't been merged to a release branch yet?
@lkrubner i'm not sure anything was actually merged...I had accidentally closed the issue b/c we finished dealing with the repo transfer but not the actual underlying issue.
I'm afraid I haven't been following the actual issue under discussion here so you may need to ping someone else for updates on that part.