Emmanuel Lécharny created DIRAPI-490:
----------------------------------------
Summary: 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
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]