@IndexedEmbedded default depth is effectively 1 due to integer overflow
-----------------------------------------------------------------------
Key: HSEARCH-140
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-140
Project: Hibernate Search
Issue Type: Bug
Components: mapping
Affects Versions: 3.0.0.GA
Environment: Hibernate 3.2.5.ga
Reporter: Franz Amador
DocumentBuilder.java line 236 uses the expression "embeddedAnn.depth() + level",
which overflows to a large negative number if "embeddedAnn.depth()" has its
default value of Integer.MAX_VALUE and "level" is greater than zero. It then
sets maxLevel to be that large negative number, which halts processing of any
@IndexedEmbedded above level 0.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira