[jira] [Comment Edited] (IO-773) RegexFileFilter is no longer Serializable
[ https://issues.apache.org/jira/browse/IO-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17554130#comment-17554130 ] Dominik Reinarz edited comment on IO-773 at 6/14/22 5:09 PM: - 2.12.0-SNAPSHOT build works! Thanks for the quick fix! was (Author: dr.z): 2.12.0-SNAPSHOT build works! > RegexFileFilter is no longer Serializable > - > > Key: IO-773 > URL: https://issues.apache.org/jira/browse/IO-773 > Project: Commons IO > Issue Type: Bug > Components: Utilities >Affects Versions: 2.10.0, 2.11.0 >Reporter: Dominik Reinarz >Priority: Major > Fix For: 2.12.0 > > > org.apache.commons.io.filefilter.RegexFileFilter cannot be serialized b/c > org.apache.commons.io.filefilter.RegexFileFilter.pathToString Function -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Comment Edited] (IO-773) RegexFileFilter is no longer Serializable
[ https://issues.apache.org/jira/browse/IO-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17554103#comment-17554103 ] Gary D. Gregory edited comment on IO-773 at 6/14/22 1:47 PM: - Hi [~dr.z] Thank you for your report. Please try with git master or a 2.12.0-SNAPSHOT build from https://repository.apache.org/content/repositories/snapshots/commons-io/commons-io/2.12.0-SNAPSHOT/ {{RegexFileFilter#RegexFileFilter(Pattern)}} now creates a serializable lambda, so other constructors that call it will create a serializable instance. If you call {{{}RegexFileFilter#RegexFileFilter(Pattern, Function){}}}, you'll have to make the lambda serializable before passing it in. was (Author: garydgregory): Hi [~dr.z] Thank you for your report. Please try with git master or a 2.12.0-SNAPSHOT build from [https://repository.apache.org/content/repositories/snapshots/|https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-lang3/] {{RegexFileFilter#RegexFileFilter(Pattern)}} now creates a serializable lambda, so other constructors that call it will create a serializable instance. If you call {{{}RegexFileFilter#RegexFileFilter(Pattern, Function){}}}, you'll have to make the lambda serializable before passing it in. > RegexFileFilter is no longer Serializable > - > > Key: IO-773 > URL: https://issues.apache.org/jira/browse/IO-773 > Project: Commons IO > Issue Type: Bug > Components: Utilities >Affects Versions: 2.10.0, 2.11.0 >Reporter: Dominik Reinarz >Priority: Major > Fix For: 2.12.0 > > > org.apache.commons.io.filefilter.RegexFileFilter cannot be serialized b/c > org.apache.commons.io.filefilter.RegexFileFilter.pathToString Function -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Comment Edited] (IO-773) RegexFileFilter is no longer Serializable
[ https://issues.apache.org/jira/browse/IO-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17554103#comment-17554103 ] Gary D. Gregory edited comment on IO-773 at 6/14/22 1:43 PM: - Hi [~dr.z] Thank you for your report. Please try with git master or a 2.12.0-SNAPSHOT build from [https://repository.apache.org/content/repositories/snapshots/|https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-lang3/] {{RegexFileFilter#RegexFileFilter(Pattern)}} now creates a serializable lambda, so other constructors that call it will create a serializable instance. If you call {{{}RegexFileFilter#RegexFileFilter(Pattern, Function){}}}, you'll have to make the lambda serializable before passing it in. was (Author: garydgregory): Hi [~dr.z] Thank you for your report. Please try with git master or a 3.13.0-SNAPSHOT build from [https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-lang3/] {{RegexFileFilter#RegexFileFilter(Pattern)}} now creates a serializable lambda, so other constructors that call it will create a serializable instance. If you call {{{}RegexFileFilter#RegexFileFilter(Pattern, Function){}}}, you'll have to make the lambda serializable before passing it in. > RegexFileFilter is no longer Serializable > - > > Key: IO-773 > URL: https://issues.apache.org/jira/browse/IO-773 > Project: Commons IO > Issue Type: Bug > Components: Utilities >Affects Versions: 2.10.0, 2.11.0 >Reporter: Dominik Reinarz >Priority: Major > Fix For: 2.12.0 > > > org.apache.commons.io.filefilter.RegexFileFilter cannot be serialized b/c > org.apache.commons.io.filefilter.RegexFileFilter.pathToString Function -- This message was sent by Atlassian Jira (v8.20.7#820007)