Is anybody here using Mockito on Java 21? We would like to assess the impact of the JDK deprecating dynamic attach for Java agents and figure out potential workarounds.
I got to talk about developer careers and open source with Jim from Oracle.
https://open.spotify.com/episode/4v4dCAZF4rl0bcCyeziQMA
Rafael Winterhalter on Moving from Economics to Software and the Benefits of Java
Listen to this episode from Duke's Corner on Spotify. In this conversation Oracle's Jim Grisanzio talks with Rafael Winterhalter about his experiences moving from economics to software development and the benefits of using Java technology. The conversation also covers advice for students and value of interacting with the Java community. Rafael is a software consultant in Oslo, Norway, he's a Java Champion, and he's a Duke's Award winner. You can find Rafael on Twitter @rafaelcodes. You can find Jim at @jimgris on Twitter.
Spotify
Release Byte Buddy 1.14.2 · raphw/byte-buddy
Fix offset mapping for local variable array remapping in Advice.
Add possibility to specify an index for skipOn and repeatOn which resolves the checked value from a returned array.
GitHubIf you are using Jackson with JAXB and were lacking support for XmlElementWrapper and XmlSeeAlso, I made a thing for your convenience:
https://github.com/raphw/jackson-jaxb-extension
GitHub - raphw/jackson-jaxb-extension: A Jackson extension for supporting additional JAXB annotations.
A Jackson extension for supporting additional JAXB annotations. - GitHub - raphw/jackson-jaxb-extension: A Jackson extension for supporting additional JAXB annotations.
GitHubBazel reminds me of Ant but I also miss XML.
Today's Byte Buddy 1.14.0 finally offers an application of MemberSubstitution in the style of Advice, as a way of by defining a simple method with annotations parameters which will replace/supplement any field access or method call within another method.
https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.14.0
Release Byte Buddy 1.14.0 · raphw/byte-buddy
Add Step.Factory.ForDelegation in MemberSubstitution that allows for delegation similar to MethodDelegation but in-code.
Add handlers for MethodDelegation and Advice that leverage method handles fo...
GitHubThe javax to Jakarta namespace migration in large applications is just as impossible and motivation killing as I imagined it. With Spring Boot 3 I finally get to dive into this nightmare.
Too bad the SQL standard does not define a CURRENT_TIMESTAMP_UTC function. Turns out one needs to write CAST(CURRENT_TIMESTAMP AT TIME ZONE 'UTC' AS TIMESTAMP) instead.