Skip to content

Commit

Permalink
Fix native errors and use SB compatible flyway version
Browse files Browse the repository at this point in the history
  • Loading branch information
theotherp committed Apr 6, 2024
1 parent b3f02a0 commit 70aa085
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/org/nzbhydra/NativeHints.java
Expand Up @@ -82,6 +82,7 @@ public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
hints.reflection().registerMethod(MetricsEndpoint.MetricDescriptor.class.getMethod("getMeasurements"), ExecutableMode.INVOKE);
hints.reflection().registerMethod(ThreadDumpEndpoint.class.getMethod("textThreadDump"), ExecutableMode.INVOKE);
hints.reflection().registerMethod(AbstractProtocol.class.getMethod("getName"), ExecutableMode.INVOKE);
hints.reflection().registerMethod(AbstractProtocol.class.getMethod("getProperty", String.class), ExecutableMode.INVOKE);
} catch (NoSuchMethodException e) {
throw new RuntimeException(e);
}
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -101,7 +101,7 @@
<maven.javadoc.skip>true</maven.javadoc.skip>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>

<!-- Use https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies/3.2.4 (with appropriate version) to compare with SB dependencies used -->
<spring.boot.version>3.2.4</spring.boot.version>
<spring.boot.devtools.version>3.2.4</spring.boot.devtools.version>
<spring.boot.maven.version>3.2.4</spring.boot.maven.version>
Expand All @@ -118,7 +118,7 @@
<logstash-logback-encoder.version>7.2</logstash-logback-encoder.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
<commons-io.version>2.11.0</commons-io.version>
<flyway-core.version>10.11.0</flyway-core.version>
<flyway-core.version>9.22.3</flyway-core.version>
<jaxb.sun.core.version>2.3.0.1</jaxb.sun.core.version>
<jaxb.sun.impl.version>3.0.1</jaxb.sun.impl.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down

0 comments on commit 70aa085

Please sign in to comment.