Steven Schlansker

Results 296 comments of Steven Schlansker

Hi, unfortunately Jdbi 2 is very old and unlikely to receive feature enhancements like this. Jdbi 3 supports at least basic usage of string template groups, so upgrading is the...

Yes, it'd be even better to make this pluggable. We chose to go with Caffeine over Guava because Caffeine is tiny and Guava is huge (and keeps having compatibility problems,...

It is not quite as trivial as the commit above shows - instead of swapping between two different versions, we would need to introduce a Jdbi cache interface layer that...

Interesting. We'd like to support this, but I'm not entirely clear on what the fix is here. Does the suggested `--report-unsupported-elements-at-runtime` give any additional useful information? Is your test case...

In particular, how in the world is Jdbi `Unchecked` getting invoked from `sun.security.ec` elliptic curve???

It looks like Graal might be working on solving this problem for us: https://github.com/oracle/graal/issues/2761 We introduced the MethodHandles approach for performance on HotSpot, and probably don't want to regress performance....

> Full method handles support will be included in the 21.0 release Let's test this against 21.0, and if there's still issues, proceed from there.

Looks like 21.0 is out, so we can re-test this now to see if there's any progress: > Added method handle invocation support for Native Image (see 2761). Methods and...

That is exciting that it compiles. Any reports on whether the resulting executable works?

Yeah, I suppose that all Jdbi config classes, both internal and user-defined, need to be initialized in the equivalent of a static initializer, so that the MethodHandles are recorded as...