You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is inappropriate ands leads to load errors inside TerminalProvider.
The more appropriate fallback classloader is
TerminalProvider.class.getClassLoader()
which points to the system classloader in simple setups or to the module's or OSGi bundle classloader in more complex deployments.
The text was updated successfully, but these errors were encountered:
wglas85
changed the title
Use a fallback classloader suitable for java Modules or SOGi environments.
Use a fallback classloader suitable for java Modules or OSGi environments.
Apr 11, 2025
wglas85
added a commit
to iteggmbh/jline3
that referenced
this issue
Apr 11, 2025
When loading TerminalProviders in context using java Modules or OSGi, the fallback to the system classloader in
jline3/terminal/src/main/java/org/jline/terminal/spi/TerminalProvider.java
Line 57 in 114e9a8
is inappropriate ands leads to load errors inside TerminalProvider.
The more appropriate fallback classloader is
which points to the system classloader in simple setups or to the module's or OSGi bundle classloader in more complex deployments.
The text was updated successfully, but these errors were encountered: