struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yasser Zamani (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4948) Struts 2.5.16 is creating jar_cache files in temp folder
Date Sat, 08 Sep 2018 12:15:00 GMT

    [ https://issues.apache.org/jira/browse/WW-4948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16608032#comment-16608032
] 

Yasser Zamani commented on WW-4948:
-----------------------------------

Hmm... if a container e.g. WebLogic implementation of {{URLConnection.getInputStream(struts-core.jar!/struts-default.xml)}} *for
a jar* returns the whole jar then I think it is its fault not mine! See line#162 of [Sun
implementation of URLConnection for jar files|http://www.docjar.com/html/api/sun/net/www/protocol/jar/JarURLConnection.java.html].

And today I suddenly recalled I myself learnt how to deal with  WW-4869 and WW-4901 from [Sun
implementation|http://www.docjar.com/html/api/sun/net/www/protocol/jar/URLJarFile.java.html]
itself. Please see it's lines #68 and 218.

> Struts 2.5.16 is creating jar_cache files in temp folder 
> ---------------------------------------------------------
>
>                 Key: WW-4948
>                 URL: https://issues.apache.org/jira/browse/WW-4948
>             Project: Struts 2
>          Issue Type: Bug
>            Reporter: Dhinakar
>            Assignee: Yasser Zamani
>            Priority: Critical
>             Fix For: 2.5.18
>
>
> struts latest version 2.5.16 is creating temp files jar_cache in tmp folder. It seems
Struts 2.5.16 is having some logic to create jar cache files every time it is loading any
struts action from a jar file . Can you please check?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message