[jboss-jira] [JBoss JIRA] Reopened: (JBCACHE-644) FileCacheLoader fails if FQN contains illegal/too many characters
Galder Zamarreno (JIRA)
jira-events at jboss.com
Thu Nov 23 07:37:41 EST 2006
[ http://jira.jboss.com/jira/browse/JBCACHE-644?page=all ]
Galder Zamarreno reopened JBCACHE-644:
--------------------------------------
Comments from Brian:
Couple thoughts on the validation stuff in FileCacheLoader:
1) How about adding an on/off switch to FileCacheLoaderConfig?
If I know my stuff conforms, I don't want to pay the performance
penalty to check it.
2) I believe Pattern is thread safe, so you should be able to
cache your compiled patterns in a static field.
Two valid points that I will be implementing.
> FileCacheLoader fails if FQN contains illegal/too many characters
> -----------------------------------------------------------------
>
> Key: JBCACHE-644
> URL: http://jira.jboss.com/jira/browse/JBCACHE-644
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Cache loaders
> Affects Versions: 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4beta, 1.3.0.GA, 1.2.4, 1.2.4SP1, 1.2.4SP2, 1.3.0.SP1, 1.3.0.SP2
> Environment: Windows XP
> Reporter: Amit Kasher
> Assigned To: Galder Zamarreno
> Fix For: 2.0.0.GA
>
> Time Spent: 4 hours
> Remaining Estimate: 0 minutes
>
> When putting FQNs that are too long to become filenames, or that contain illlegal characters for filenames (semicolon, for example), the FileCacheLoader throws an IOException.
> The FileCacheLoader should encode the FQN string so that it is a valid filename.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list