[
https://issues.apache.org/jira/browse/WW-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16651524#comment-16651524
]
Yasser Zamani commented on WW-4970:
-----------------------------------
:) Sure, I like too but I remember there are somehow many other bug fixes which
are all inside 2.5 and I remember some of them explicitly requested by users to
being imported to 2.3 e.g. this one and that fix about making session stored
not-serializeable objects transient. I remember there are other places where we
recommended to upgrade but I cannot recall their subject and references links.
These are causes that I prefer an upgrade for users as it's better for
themselves I think, while I'm OK to reanalyze 2.5 bug fixes and import those
into 2.3, but I see it time consuming and risky for us and user both as somehow
a duplicate copy/paste job. wdyt?
> Struts 2.3.36 - InvalidPathException: Illegal char <:> on JDK 9,10,11 on
> windows
> --------------------------------------------------------------------------------
>
> Key: WW-4970
> URL: https://issues.apache.org/jira/browse/WW-4970
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.3.36
> Reporter: Brice Roncace
> Priority: Major
> Labels: Java10, Java11, java9
> Fix For: 2.3.37
>
>
> This issue was fixed in Struts 2.5.14 but the fix never made it to the Struts
> 2.3 branch.
> {code:java}
> java.nio.file.InvalidPathException: Illegal char <:> at index 3:
> jar:file:\C:\development\projects\AcademyIntegration\AcademyIntegration\target\AcademyIntegration-0.1\WEB-INF\lib\struts2-core-2.3.36.jar
>
> java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
> java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
> java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
> java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
> java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
> java.base/java.io.File.toPath(File.java:2290)
> java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1222)
> java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:726)
> java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:843)
> java.base/java.util.zip.ZipFile.<init>(ZipFile.java:246)
> java.base/java.util.zip.ZipFile.<init>(ZipFile.java:176)
> java.base/java.util.jar.JarFile.<init>(JarFile.java:346)
> java.base/java.util.jar.JarFile.<init>(JarFile.java:317)
> java.base/java.util.jar.JarFile.<init>(JarFile.java:256)
>
> com.opensymphony.xwork2.util.fs.JarEntryRevision.needsReloading(JarEntryRevision.java:76)
>
> com.opensymphony.xwork2.util.fs.DefaultFileManager.fileNeedsReloading(DefaultFileManager.java:66)
>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsReload(XmlConfigurationProvider.java:397)
>
> org.apache.struts2.config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:169)
>
> com.opensymphony.xwork2.config.ConfigurationManager.needReloadContainerProviders(ConfigurationManager.java:215)
>
> com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManager.java:179)
>
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:73)
> org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:978)
>
> org.apache.struts2.dispatcher.ng.PrepareOperations.createActionContext(PrepareOperations.java:81)
>
> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:89)
>
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
>
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
>
> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:186)
>
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
>
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
>
> org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:180)
>
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
> {code}
>
> Running on JDK 11
> {code:java}
> C:\>java -version
> openjdk version "11" 2018-09-25
> OpenJDK Runtime Environment 18.9 (build 11+28)
> OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode){code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)