The Java 19 toolchain doesn't like sneaky throws. Not entirely sure why. However, I think it's better practice to not use sneaky throws as it makes it clearer what is throw and where.
Example error message when trying to compile the current codebase with Java 19:
error: Error during the transformation of 'io.airbyte.validation.json.JsonSchemaValidatorTest'; post-compiler 'lombok.bytecode.SneakyThrowsRemover' caused an exception: java.lang.IllegalArgumentException: Unsupported class file major version 63
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:199)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:180)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
at lombok.bytecode.AsmUtil.fixJSRInlining(AsmUtil.java:37)
at lombok.bytecode.SneakyThrowsRemover.applyTransformations(SneakyThrowsRemover.java:46)
at lombok.core.PostCompiler.applyTransformations(PostCompiler.java:44)
at lombok.core.PostCompiler$1.close(PostCompiler.java:87)
at jdk.compiler/com.sun.tools.javac.jvm.ClassWriter.writeClass(ClassWriter.java:1508)
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:738)
* Update SpecActivityImpl to build a VersionedStreamFactory
* Enable Protocol Version detection from Stream for SPEC
* Print log before the action for better debugging
* Fix buffer size for protocol detection
* Improve detectVersion error handling
* extract constan
* Rename attribute for clarity
* More AirbyteVersion references fix
* Propagate protocol version from sourceDef to SchedulerClient
* Propagate protocol version to LauncherConfig
* Add VersionedMigratorFactory
* Update VersionedAirbyteStreamFactory
* Fix Version Json serialization/deserialization
* Plug message migration in CheckConnection for Sources
* Use Version instead of AirbyteVersion
* Update Deserializer interface to fit better in existing flow
* Add versioned migrator
* Refactor DefaultAirbyteStreamFactory to enable Versioning
* Use explicit constructor
* Add logging on failed message upgrade