Hi:
  Two JDK1.5 methods avoid Lucene 3.3.x classes from being back-ported
to JDK1.4 compatible stack.
public static int numberOfLeadingZeros(int i)
public static int numberOfLeadingZeros(long l)
  I know that the Lucene core projects is certified against 1.5 stack,
but for developers like me which needs to maintain a compatible
version to 1.4JDK (this is the JDK version integrated into the Oracle
10G version which still widely used) the back-ported technique using a
retro-translator is the only way continue working with Lucene.
  The usage of this method only affects three classes:
     o.a.l.s.MMapDirectory
     o.a.l.u.SorterTemplate
     o.a.l.u.OpenBitSet;
  adding the implementation of the above methods as static methods of
these classes will solve the back-porting issues and could provides
developers still using Lucene 3.3.x in JDK1.4 stack.
  Best regards, Marcelo.

-- 
Marcelo F. Ochoa
http://marceloochoa.blogspot.com/
http://mochoa.sites.exa.unicen.edu.ar/
______________
Want to integrate Lucene and Oracle?
http://marceloochoa.blogspot.com/2007/09/running-lucene-inside-your-oracle-jvm.html
Is Oracle 11g REST ready?
http://marceloochoa.blogspot.com/2008/02/is-oracle-11g-rest-ready.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to