[
https://issues.apache.org/jira/browse/WW-5141?focusedWorklogId=895706&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-895706
]
ASF GitHub Bot logged work on WW-5141:
--------------------------------------
Author: ASF GitHub Bot
Created on: 14/Dec/23 18:30
Start Date: 14/Dec/23 18:30
Worklog Time Spent: 10m
Work Description: sepe81 commented on code in PR #778:
URL: https://github.com/apache/struts/pull/778#discussion_r1427112376
##########
core/src/main/java/org/apache/struts2/dispatcher/multipart/JakartaMultiPartRequest.java:
##########
@@ -356,7 +362,11 @@ public void cleanUp() {
for (FileItem item : items) {
LOG.debug("Removing file {} {}", name, item);
if (!item.isInMemory()) {
- item.delete();
+ try {
+ item.delete();
+ } catch (IOException e) {
+ throw new RuntimeException(e);
Review Comment:
Maybe use more specific
https://docs.oracle.com/javase/8/docs/api/java/io/UncheckedIOException.html ?
Issue Time Tracking
-------------------
Worklog Id: (was: 895706)
Time Spent: 7h 50m (was: 7h 40m)
> Support for JEE 9+
> -------------------
>
> Key: WW-5141
> URL: https://issues.apache.org/jira/browse/WW-5141
> Project: Struts 2
> Issue Type: New Feature
> Components: Core
> Reporter: Daniel Le Berre
> Priority: Major
> Labels: M1
> Fix For: 7.0.0
>
> Attachments: pom.xml
>
> Time Spent: 7h 50m
> Remaining Estimate: 0h
>
> JEE 9 breaks the JEE API by replacing javax domain by jakarta.
> Tomcat 10 implements some specifications of JEE 9.
> Struts 2.5 has some dependencies with the javax servlet API.
> Struts would require some changes to run on Tomcat 10+.
> Is there any plan to support JEE 9+ in the future?
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)