Thank you.  I had about concluded that this was the case.  I am using
jdk 1.3.1 which I suppose I should have stated in the original message.


Very interesting.  I actually solved my problem by eliminating the
HashSet (which I didn't need for patterns anyway) and replacing it with
LinkedList.

Steve

-----Original Message-----
From: Daniel F. Savarese [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 4:28 PM
To: ORO Users List
Subject: Re: Can Pattern objects be stored in a Hashtable? 



In message
<[EMAIL PROTECTED]>, "St
eve Cohen" writes:
>apparently not.  Granted, I am using a somewhat old version:

Patterns can be stored in Hashtables and HashMaps.  This is done by the
PatternCache classes.  Whatever you're running into is peculiar to
HashSet.
HashSet.hashCode() is going into an infinite loop because the
HashIterator.hasNext() is always returning true (from looking at the
stack trace and the java.util.* source code).  It looks like you
may have found a bug in Josh Bloch's collections code.  If you're using
an older JVM, I'd try a newer one and see if the problem goes away.
All indications are this is not a jakarta-oro caused problem.

daniel



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to