Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump jaxb-impl from hadoop-common #6485

Merged
merged 1 commit into from Apr 4, 2023

Conversation

snazy
Copy link
Member

@snazy snazy commented Apr 4, 2023

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)

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)
```
@@ -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+
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment seems wrong? In gradle/libs.versions.toml, the version is 2.3.8, not 2.2.3-1.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see, you probably meant "bump from" not "bump to" :-)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, the dependency comes "via" hadoop-common ;)

@snazy snazy merged commit fea59b3 into projectnessie:main Apr 4, 2023
23 checks passed
@snazy snazy deleted the fix-for-hadoop-common-j17 branch April 4, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants