You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2009/06/19 22:30:07 UTC
[jira] Commented: (LUCENE-961) RegexCapabilities is not
Serializable
[ https://issues.apache.org/jira/browse/LUCENE-961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721985#action_12721985 ]
Mark Miller commented on LUCENE-961:
------------------------------------
+1
Lets add a no arg constructor to the impls and make serializable.
> RegexCapabilities is not Serializable
> -------------------------------------
>
> Key: LUCENE-961
> URL: https://issues.apache.org/jira/browse/LUCENE-961
> Project: Lucene - Java
> Issue Type: Bug
> Components: QueryParser
> Affects Versions: 2.2
> Reporter: Konrad Rokicki
> Assignee: Erik Hatcher
> Priority: Minor
>
> The class RegexQuery is marked Serializable by its super class, but it contains a RegexCapabilities which is not Serializable. Thus attempting to serialize the query results in an exception.
> Making RegexCapabilities serializable should be no problem since its subclasses contain only serializable classes (java.util.regex.Pattern and org.apache.regexp.RE).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org