[
https://issues.apache.org/jira/browse/DIRAPI-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lécharny resolved DIRAPI-490.
--------------------------------------
Resolution: Fixed
fixed with commit 4879fb38d07dd7160fc4c22bc0b5ba81629ec2f4
> Never let an unchecked exception escape the OpenLdapSchemaParser - #335
> -----------------------------------------------------------------------
>
> Key: DIRAPI-490
> URL: https://issues.apache.org/jira/browse/DIRAPI-490
> Project: Directory Client API
> Issue Type: Bug
> Affects Versions: 2.1.8
> Reporter: Emmanuel Lécharny
> Priority: Minor
> Fix For: 2.1.9
>
>
> A schema description with an oversized *SYNTAX* length or rule *ID* made the
> parser throw a _NumberFormatException_. That exception escaped
> _loadSchema()_, because the public parse methods only converted checked
> exceptions to _ParseException_. The parser now reports these inputs as a
> normal _ParseException_, and so does any other unexpected runtime error
> inside it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]