Skip to content

Commit

Permalink
Bump jaxb-impl from hadoop-common (#6485)
Browse files Browse the repository at this point in the history
Fixes this error:
```
java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @19e4653c
...
    at com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1.run(Injector.java:177)
```
  • Loading branch information
snazy committed Apr 4, 2023
1 parent 4f32232 commit fea59b3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gc/gc-iceberg-files/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ dependencies {
exclude("org.eclipse.jetty")
exclude("org.apache.zookeeper")
}
// Bump the jabx-impl version 2.2.3-1 via hadoop-common to make it work with Java 17+
implementation(libs.jaxb.impl)

implementation(libs.iceberg.core)
implementation(libs.iceberg.aws)

Expand Down
2 changes: 2 additions & 0 deletions gc/gc-tool-inttest/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ dependencies {
exclude("org.apache.hadoop")
exclude("org.apache.zookeeper")
}
// Bump the jabx-impl version 2.2.3-1 via hadoop-common to make it work with Java 17+
implementation(libs.jaxb.impl)

implementation(libs.slf4j.api)

Expand Down
2 changes: 2 additions & 0 deletions gc/gc-tool/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ dependencies {
exclude("org.apache.hadoop")
exclude("org.apache.zookeeper")
}
// Bump the jabx-impl version 2.2.3-1 via hadoop-common to make it work with Java 17+
implementation(libs.jaxb.impl)

implementation(platform(libs.awssdk.bom))
runtimeOnly(libs.awssdk.s3)
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ javax-servlet = { module = "javax.servlet:javax.servlet-api", version = "4.0.1"
javax-validation-api = { module = "javax.validation:validation-api", version = "2.0.1.Final"}
javax-ws-rs = { module = "javax.ws.rs:javax.ws.rs-api", version = "2.1.1" }
javax-ws-rs21 = { module = "org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec", version = "2.0.2.Final" }
jaxb-impl = { module = "com.sun.xml.bind:jaxb-impl", version = "2.3.8" }
jersey-bom = { module = "org.glassfish.jersey:jersey-bom", version = "2.39.1" }
jetbrains-annotations = { module = "org.jetbrains:annotations", version = "24.0.1" }
jmh-core = { module = "org.openjdk.jmh:jmh-core", version.ref = "jmh" }
Expand Down

0 comments on commit fea59b3

Please sign in to comment.