lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-1048) Lock.obtain(timeout) behaves incorrectly for large timeouts
Date Thu, 08 Nov 2007 11:23:50 GMT
Lock.obtain(timeout) behaves incorrectly for large timeouts
-----------------------------------------------------------

                 Key: LUCENE-1048
                 URL: https://issues.apache.org/jira/browse/LUCENE-1048
             Project: Lucene - Java
          Issue Type: Bug
          Components: Store
    Affects Versions: 2.2
            Reporter: Michael McCandless
            Assignee: Michael McCandless
            Priority: Minor
             Fix For: 2.3


Because timeout is a long, but internal values derived from timeout
are ints, its possible to overflow those internal values into negative
numbers and cause incorrect behavior.

Spinoff from this thread:

  http://www.gossamer-threads.com/lists/lucene/java-user/54376



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message