[jira] [Resolved] (WW-4515) Convert try blocks to try-with-resources
[ https://issues.apache.org/jira/browse/WW-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart resolved WW-4515. --- Resolution: Fixed Assignee: Lukasz Lenart Convert try blocks to try-with-resources Key: WW-4515 URL: https://issues.apache.org/jira/browse/WW-4515 Project: Struts 2 Issue Type: Improvement Reporter: Aaron Johnson Assignee: Lukasz Lenart Priority: Minor Fix For: 2.5 Convert finally blocks that manage closable resources to use JDK 7's try-with-resources syntax. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4515) Convert try blocks to try-with-resources
[ https://issues.apache.org/jira/browse/WW-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590226#comment-14590226 ] ASF subversion and git services commented on WW-4515: - Commit 86da1ea8c2fec919bb3c94ceeb9c29f1acf04276 in struts's branch refs/heads/master from [~swiftelan] [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=86da1ea ] WW-4515 Convert try blocks to try-with-resources Convert try blocks to try-with-resources Key: WW-4515 URL: https://issues.apache.org/jira/browse/WW-4515 Project: Struts 2 Issue Type: Improvement Reporter: Aaron Johnson Priority: Minor Fix For: 2.5.x Convert finally blocks that manage closable resources to use JDK 7's try-with-resources syntax. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4515) Convert try blocks to try-with-resources
[ https://issues.apache.org/jira/browse/WW-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590222#comment-14590222 ] ASF subversion and git services commented on WW-4515: - Commit 3fab155b4cc530ca3ca0b69299ddcb348eb5f26d in struts's branch refs/heads/master from [~swiftelan] [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=3fab155 ] WW-4515 Convert try blocks to try-with-resources Convert try blocks to try-with-resources Key: WW-4515 URL: https://issues.apache.org/jira/browse/WW-4515 Project: Struts 2 Issue Type: Improvement Reporter: Aaron Johnson Priority: Minor Fix For: 2.5.x Convert finally blocks that manage closable resources to use JDK 7's try-with-resources syntax. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4515) Convert try blocks to try-with-resources
[ https://issues.apache.org/jira/browse/WW-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590225#comment-14590225 ] ASF GitHub Bot commented on WW-4515: Github user asfgit closed the pull request at: https://github.com/apache/struts/pull/42 Convert try blocks to try-with-resources Key: WW-4515 URL: https://issues.apache.org/jira/browse/WW-4515 Project: Struts 2 Issue Type: Improvement Reporter: Aaron Johnson Priority: Minor Fix For: 2.5.x Convert finally blocks that manage closable resources to use JDK 7's try-with-resources syntax. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4515) Convert try blocks to try-with-resources
[ https://issues.apache.org/jira/browse/WW-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590224#comment-14590224 ] ASF subversion and git services commented on WW-4515: - Commit 0b19499ffd78f44a6dd8b767e9995c980efeb01f in struts's branch refs/heads/master from [~swiftelan] [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=0b19499 ] WW-4515 Convert try blocks to try-with-resources Convert try blocks to try-with-resources Key: WW-4515 URL: https://issues.apache.org/jira/browse/WW-4515 Project: Struts 2 Issue Type: Improvement Reporter: Aaron Johnson Priority: Minor Fix For: 2.5.x Convert finally blocks that manage closable resources to use JDK 7's try-with-resources syntax. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4515) Convert try blocks to try-with-resources
[ https://issues.apache.org/jira/browse/WW-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590221#comment-14590221 ] ASF subversion and git services commented on WW-4515: - Commit bf15ad20b13da0ef81a3e30cf43c3999f13264c2 in struts's branch refs/heads/master from [~swiftelan] [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=bf15ad2 ] Merge branch 'master' of github.com:apache/struts into feature/WW-4515 # By Johannes Geppert # Via Johannes Geppert * 'master' of github.com:apache/struts: Fiy typo in commons-digester artifact id Convert try blocks to try-with-resources Key: WW-4515 URL: https://issues.apache.org/jira/browse/WW-4515 Project: Struts 2 Issue Type: Improvement Reporter: Aaron Johnson Priority: Minor Fix For: 2.5.x Convert finally blocks that manage closable resources to use JDK 7's try-with-resources syntax. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (WW-4515) Convert try blocks to try-with-resources
[ https://issues.apache.org/jira/browse/WW-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4515: -- Fix Version/s: (was: 2.5.x) 2.5 Convert try blocks to try-with-resources Key: WW-4515 URL: https://issues.apache.org/jira/browse/WW-4515 Project: Struts 2 Issue Type: Improvement Reporter: Aaron Johnson Priority: Minor Fix For: 2.5 Convert finally blocks that manage closable resources to use JDK 7's try-with-resources syntax. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4515) Convert try blocks to try-with-resources
[ https://issues.apache.org/jira/browse/WW-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590594#comment-14590594 ] Hudson commented on WW-4515: UNSTABLE: Integrated in Struts-JDK7-master #317 (See [https://builds.apache.org/job/Struts-JDK7-master/317/]) WW-4515 Convert try blocks to try-with-resources (aaron.johnson: rev 3fab155b4cc530ca3ca0b69299ddcb348eb5f26d) * xwork-core/src/main/java/com/opensymphony/xwork2/util/finder/DefaultClassFinder.java * core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java * core/src/test/java/org/apache/struts2/dispatcher/PlainTextResultTest.java * xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ExceptionHolder.java * plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FileBasedView.java * plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/DefaultOValValidationManager.java * core/src/main/java/org/apache/struts2/util/FastByteArrayOutputStream.java * core/src/main/java/org/apache/struts2/dispatcher/multipart/JakartaStreamMultiPartRequest.java * core/src/main/java/org/apache/struts2/views/freemarker/FreemarkerManager.java * core/src/main/java/org/apache/struts2/interceptor/debugging/DebuggingInterceptor.java * core/src/main/java/org/apache/struts2/config/PropertiesSettings.java * xwork-core/src/test/java/com/opensymphony/xwork2/util/UrlUtilTest2.java * plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/SiteGraph.java * core/src/test/java/org/apache/struts2/TestUtils.java * plugins/sitegraph/src/test/java/org/apache/struts2/sitegraph/SiteGraphTest.java * core/src/main/java/org/apache/struts2/components/Component.java * core/src/test/java/org/apache/struts2/views/jsp/AbstractUITagTest.java * xwork-core/src/test/java/com/opensymphony/xwork2/validator/DefaultValidatorFileParserTest.java * core/src/main/java/org/apache/struts2/views/jsp/StrutsBodyTagSupport.java * xwork-core/src/main/java/com/opensymphony/xwork2/validator/DefaultValidatorFactory.java * plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java * plugins/java8-support/src/main/java/org/apache/struts2/convention/Java8ClassFinder.java * xwork-core/src/main/java/com/opensymphony/xwork2/util/finder/ResourceFinder.java * core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java WW-4515 Convert try blocks to try-with-resources (aaron.johnson: rev c71c3def74aae42ad205bd1ec839044c220b7ac0) * pom.xml * core/pom.xml WW-4515 Convert try blocks to try-with-resources (aaron.johnson: rev 0b19499ffd78f44a6dd8b767e9995c980efeb01f) * plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java WW-4515 Convert try blocks to try-with-resources (aaron.johnson: rev 86da1ea8c2fec919bb3c94ceeb9c29f1acf04276) * plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java Convert try blocks to try-with-resources Key: WW-4515 URL: https://issues.apache.org/jira/browse/WW-4515 Project: Struts 2 Issue Type: Improvement Reporter: Aaron Johnson Assignee: Lukasz Lenart Priority: Minor Fix For: 2.5 Convert finally blocks that manage closable resources to use JDK 7's try-with-resources syntax. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4503) Build Struts with JDK 7
[ https://issues.apache.org/jira/browse/WW-4503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14590593#comment-14590593 ] Hudson commented on WW-4503: UNSTABLE: Integrated in Struts-JDK7-master #317 (See [https://builds.apache.org/job/Struts-JDK7-master/317/]) WW-4503 Build Struts with JDK 7 (aaron.johnson: rev e262854e2a1b7548efa0a1eb50d350ecd215231b) * pom.xml Build Struts with JDK 7 --- Key: WW-4503 URL: https://issues.apache.org/jira/browse/WW-4503 Project: Struts 2 Issue Type: New Feature Components: Build Management Reporter: Aaron Johnson Assignee: Lukasz Lenart Fix For: 2.5 Switch to JDK 7 to take advantage of new syntax such as try-with-resources. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4402) JDK 8: build fails due to missing apt tool
[ https://issues.apache.org/jira/browse/WW-4402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14589907#comment-14589907 ] Hudson commented on WW-4402: SUCCESS: Integrated in Struts-JDK7-pull-request #35 (See [https://builds.apache.org/job/Struts-JDK7-pull-request/35/]) WW-4402 JDK 8: build fails due to missing apt tool (aaron.johnson: rev 08fad71aafb1215438d65f817412a04b3584f5bb) * pom.xml * core/pom.xml JDK 8: build fails due to missing apt tool -- Key: WW-4402 URL: https://issues.apache.org/jira/browse/WW-4402 Project: Struts 2 Issue Type: Bug Components: Build Management Affects Versions: 2.3.16.3 Environment: JDK 8 Reporter: Rene Gielen Labels: jdk8 Fix For: 2.5 Attachments: WW-4402-struts-core.diff, WW-4402.diff The generation of Struts Taglib TLD files relies on annotation processing with the apt tool, wrapped by maven-apt-plugin. In JDK 7 apt has been [deprecated|http://docs.oracle.com/javase/7/docs/technotes/guides/apt/GettingStarted.html] in favor of [JSR 269|https://jcp.org/en/jsr/detail?id=269]. In JDK 8 apt tool has been [removed completely|http://openjdk.java.net/jeps/117]. In effect, Struts core and all tag library projects relying on the struts-annotation helper library won't build any longer under JDK 8. A major effort is needed to introduce a compatible replacement. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4515) Convert try blocks to try-with-resources
[ https://issues.apache.org/jira/browse/WW-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14589909#comment-14589909 ] Hudson commented on WW-4515: SUCCESS: Integrated in Struts-JDK7-pull-request #35 (See [https://builds.apache.org/job/Struts-JDK7-pull-request/35/]) WW-4515 Convert try blocks to try-with-resources (aaron.johnson: rev 3fab155b4cc530ca3ca0b69299ddcb348eb5f26d) * core/src/main/java/org/apache/struts2/views/freemarker/FreemarkerManager.java * xwork-core/src/test/java/com/opensymphony/xwork2/validator/DefaultValidatorFileParserTest.java * plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/DefaultOValValidationManager.java * xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ExceptionHolder.java * core/src/test/java/org/apache/struts2/TestUtils.java * core/src/main/java/org/apache/struts2/views/jsp/StrutsBodyTagSupport.java * core/src/main/java/org/apache/struts2/components/Component.java * xwork-core/src/main/java/com/opensymphony/xwork2/validator/DefaultValidatorFactory.java * plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/SiteGraph.java * core/src/main/java/org/apache/struts2/util/FastByteArrayOutputStream.java * plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/entities/FileBasedView.java * xwork-core/src/main/java/com/opensymphony/xwork2/util/finder/DefaultClassFinder.java * plugins/sitegraph/src/test/java/org/apache/struts2/sitegraph/SiteGraphTest.java * core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java * core/src/main/java/org/apache/struts2/config/PropertiesSettings.java * core/src/main/java/org/apache/struts2/dispatcher/multipart/JakartaStreamMultiPartRequest.java * xwork-core/src/main/java/com/opensymphony/xwork2/util/finder/ResourceFinder.java * plugins/java8-support/src/main/java/org/apache/struts2/convention/Java8ClassFinder.java * core/src/test/java/org/apache/struts2/dispatcher/PlainTextResultTest.java * core/src/test/java/org/apache/struts2/views/jsp/AbstractUITagTest.java * xwork-core/src/test/java/com/opensymphony/xwork2/util/UrlUtilTest2.java * core/src/main/java/org/apache/struts2/dispatcher/StreamResult.java * core/src/main/java/org/apache/struts2/interceptor/debugging/DebuggingInterceptor.java * plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java WW-4515 Convert try blocks to try-with-resources (aaron.johnson: rev c71c3def74aae42ad205bd1ec839044c220b7ac0) * core/pom.xml * pom.xml WW-4515 Convert try blocks to try-with-resources (aaron.johnson: rev 0b19499ffd78f44a6dd8b767e9995c980efeb01f) * plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java WW-4515 Convert try blocks to try-with-resources (aaron.johnson: rev 86da1ea8c2fec919bb3c94ceeb9c29f1acf04276) * plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java Convert try blocks to try-with-resources Key: WW-4515 URL: https://issues.apache.org/jira/browse/WW-4515 Project: Struts 2 Issue Type: Improvement Reporter: Aaron Johnson Priority: Minor Fix For: 2.5.x Convert finally blocks that manage closable resources to use JDK 7's try-with-resources syntax. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4515) Convert try blocks to try-with-resources
[ https://issues.apache.org/jira/browse/WW-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14589901#comment-14589901 ] ASF GitHub Bot commented on WW-4515: GitHub user swiftelan opened a pull request: https://github.com/apache/struts/pull/42 WW-4515 Convert try blocks to try-with-resources You can merge this pull request into a Git repository by running: $ git pull https://github.com/swiftelan/struts feature/WW-4515 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/struts/pull/42.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #42 commit e262854e2a1b7548efa0a1eb50d350ecd215231b Author: Aaron Johnson aaron.john...@pearson.com Date: 2015-05-22T14:28:08Z WW-4503 Build Struts with JDK 7 commit 0ad77d403ec83646f5a11d2147bc3fca694ecfe6 Author: Aaron Johnson aaron.john...@pearson.com Date: 2015-05-26T14:35:04Z Merge branch 'master' of github.com:apache/struts commit 08fad71aafb1215438d65f817412a04b3584f5bb Author: Aaron Johnson aaron.john...@pearson.com Date: 2015-05-26T14:36:33Z WW-4402 JDK 8: build fails due to missing apt tool commit b922d5aad1c91510d7a77443b8e21078fb7bab3a Author: Aaron Johnson aaron.john...@pearson.com Date: 2015-05-26T20:41:20Z Merge branch 'master' of github.com:apache/struts commit 6c9ca6201c2f7f4f4fbac28fad844bcd1e4d62ef Author: Aaron Johnson aaron.john...@pearson.com Date: 2015-05-29T15:42:12Z Merge branch 'master' of github.com:apache/struts # By Johannes Geppert (9) and others # Via Johannes Geppert (3) and Lukasz Lenart (1) * 'master' of github.com:apache/struts: Refactor showcase and migrate to bootstrap 3 WW-4505 Add plugin to support bean validation Drops version of maven-compiler-plugin as this breaks build WW-4503 Sitches to JDK7 WW-4505 Add plugin to support bean validation WW-4505 Add plugin to support bean validation WW-4505 Add plugin to support bean validation Create README.md Add test cases for ModelDriven action, standard actions and FieldMatch validator WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one Fix missing import of LoggerFactory WW-4505 Add plugin to support bean validation WW-4505 Add plugin to support bean validation commit ebf4b170c0515fcc094c698c0d19dabf08ad935f Author: Aaron Johnson aaron.john...@pearson.com Date: 2015-06-16T19:24:38Z Merge branch 'master' of github.com:apache/struts # By Johannes Geppert (16) and others # Via Johannes Geppert (2) and others * 'master' of github.com:apache/struts: (27 commits) Switch to latest commons-collections, commons-io, commons-lang3 and commons-digester versions Minor code improvements's in the cdi, convention, jasperreports, junit, rest and sitemesh plugin Minor code improvements's in the xwork-core module Remove provider class generic to fix compile error which breaks the build adjusted h1 to match page title fixed display of last two fields using java.util.Date instead of java.sql.Date using ObjectFactory instead of Class.forName() small updates to logging WW-4513 Move mailreader app to struts2-examples WW-4512 Move struts2 jboss-blank app to struts2-examples WW-4511 Move struts2 blank app to struts2-examples added some more eclipse specific directories to .gitignore added testcase for action with method prefixed by 'do' fixed some typos in javadoc fixed some generics related warnings and did a little re-formatting added missing jquery file Minor code improvement's in the struts json plugin Minor code improvement's in the struts spring plugin Minor code improvements's in the struts core module ... commit bf15ad20b13da0ef81a3e30cf43c3999f13264c2 Author: Aaron Johnson aaron.john...@pearson.com Date: 2015-06-17T13:35:24Z Merge branch 'master' of github.com:apache/struts into feature/WW-4515 # By Johannes Geppert # Via Johannes Geppert * 'master' of github.com:apache/struts: Fiy typo in commons-digester artifact id commit 3fab155b4cc530ca3ca0b69299ddcb348eb5f26d Author: Aaron Johnson aaron.john...@pearson.com Date: 2015-06-17T14:24:08Z WW-4515 Convert try blocks to try-with-resources commit c71c3def74aae42ad205bd1ec839044c220b7ac0 Author: Aaron Johnson aaron.john...@pearson.com Date: 2015-06-17T14:32:57Z WW-4515 Convert try blocks to try-with-resources commit 0b19499ffd78f44a6dd8b767e9995c980efeb01f Author: Aaron Johnson aaron.john...@pearson.com Date: 2015-06-17T14:49:26Z WW-4515 Convert try blocks to try-with-resources commit 86da1ea8c2fec919bb3c94ceeb9c29f1acf04276 Author:
[jira] [Commented] (WW-4503) Build Struts with JDK 7
[ https://issues.apache.org/jira/browse/WW-4503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14589908#comment-14589908 ] Hudson commented on WW-4503: SUCCESS: Integrated in Struts-JDK7-pull-request #35 (See [https://builds.apache.org/job/Struts-JDK7-pull-request/35/]) WW-4503 Build Struts with JDK 7 (aaron.johnson: rev e262854e2a1b7548efa0a1eb50d350ecd215231b) * pom.xml Build Struts with JDK 7 --- Key: WW-4503 URL: https://issues.apache.org/jira/browse/WW-4503 Project: Struts 2 Issue Type: New Feature Components: Build Management Reporter: Aaron Johnson Assignee: Lukasz Lenart Fix For: 2.5 Switch to JDK 7 to take advantage of new syntax such as try-with-resources. -- This message was sent by Atlassian JIRA (v6.3.4#6332)