Skip to content

java: update third-party components to their recent versions #1558

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

osokin
Copy link
Contributor

@osokin osokin commented Feb 10, 2025

Proposed changes

Describe the use case and detail of the change. If this PR addresses an issue on GitHub, make sure to include a link to that issue using one of the supported keywords in this PR's description or commit message.

Checklist

Before creating a PR, run through this checklist and mark each as complete:

@ac000
Copy link
Member

ac000 commented Feb 10, 2025

Hi Sergey!

Ugh, where did that PR template thing come from!?

But anyway, unfortunately this seems to have broken the java jsp tests...

@ac000
Copy link
Member

ac000 commented Apr 21, 2025

Here's some of the relative log

Notice: 2025/02/10 16:17:59 [notice] 7667#7667 app process 7668 exited with code 0
Notice: 2025/02/10 16:17:59 [notice] 7110#7110 process 7667 exited with code 0
2025/02/10 16:17:59 [info] 7703#7703 "jsp" prototype started
2025/02/10 16:17:59 [info] 7704#7704 "jsp" application started
2025/02/10 16:18:00 [info] 7704#7704 [unit] Context.Warning: No org.apache.tomcat.JarScanner set in ServletContext. Falling back to default JarScanner implementation.
2025-02-10 16:18:00.086:INFO::main: Logging initialized @299ms to org.eclipse.jetty.util.log.StdErrLog
Error: Exception in thread "main" javax.servlet.ServletException: java.lang.ExceptionInInitializerError
	at nginx.unit.Context.service(Context.java:997)
Caused by: java.lang.ExceptionInInitializerError
	at org.apache.tomcat.util.scan.JarFileUrlJar.<init>(JarFileUrlJar.java:65)
	at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:49)
	at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:387)
	at org.apache.tomcat.util.scan.StandardJarScanner.processURLs(StandardJarScanner.java:322)
	at org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJarScanner.java:274)
	at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:237)
	at org.apache.jasper.servlet.TldScanner.scanJars(TldScanner.java:262)
	at org.apache.jasper.servlet.TldScanner.scan(TldScanner.java:104)
	at org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:83)
	at nginx.unit.Context$ServletReg.init(Context.java:1980)
	at nginx.unit.Context$ServletReg.service(Context.java:2086)
	at nginx.unit.Context$CtxFilterChain.doFilter(Context.java:750)
	at nginx.unit.Context.service(Context.java:971)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field static final boolean java.io.FileSystem.useCanonCaches accessible: module java.base does not "opens java.io" to unnamed module @759ebb3d
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
	at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
	at org.apache.tomcat.util.compat.JreCompat.<clinit>(JreCompat.java:131)
	... 13 more

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.

2 participants