fix more position corrumptions in 4.0 codecs
--------------------------------------------
Key: LUCENE-3879
URL: https://issues.apache.org/jira/browse/LUCENE-3879
Project: Lucene - Java
Issue Type: Bug
Reporter: Robert Muir
Spinoff of LUCENE-3876.
Some codecs have invalid asserts, wrong shift operators etc.
If a position exceeds Integer.MAX_VALUE/2 and then also has a payload,
it will produce corrumpt indexes or other strange errors.
Easiest way to trigger the bugs is to sometimes add a payload to the test from
LUCENE-3876.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]