public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/20135] Returning true from LinkedHashMap.removeEldestEntry does not remove entry
  2005-02-22  7:44 [Bug libgcj/20135] New: Returning true from LinkedHashMap.removeEldestEntry does not remove entry thhal at mailblocks dot com
@ 2005-02-22  7:44 ` thhal at mailblocks dot com
  2005-02-22  7:46 ` andreast at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: thhal at mailblocks dot com @ 2005-02-22  7:44 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From thhal at mailblocks dot com  2005-02-22 07:31 -------
Created an attachment (id=8251)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8251&action=view)
Code to reproduce the problem

Compile using gcj --main foo and run the result. Should print "ERROR, Size is
20". Compile and run using a standard Java, should print "OK, Size is 15".

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20135


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/20135] New: Returning true from LinkedHashMap.removeEldestEntry does not remove entry
@ 2005-02-22  7:44 thhal at mailblocks dot com
  2005-02-22  7:44 ` [Bug libgcj/20135] " thhal at mailblocks dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: thhal at mailblocks dot com @ 2005-02-22  7:44 UTC (permalink / raw)
  To: java-prs

The LinkedHashMap fails to remove the eldest entry when returning true from the
removeEldestEntry method.

-- 
           Summary: Returning true from LinkedHashMap.removeEldestEntry does
                    not remove entry
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P1
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: thhal at mailblocks dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20135


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/20135] Returning true from LinkedHashMap.removeEldestEntry does not remove entry
  2005-02-22  7:44 [Bug libgcj/20135] New: Returning true from LinkedHashMap.removeEldestEntry does not remove entry thhal at mailblocks dot com
  2005-02-22  7:44 ` [Bug libgcj/20135] " thhal at mailblocks dot com
@ 2005-02-22  7:46 ` andreast at gcc dot gnu dot org
  2005-02-22  8:02 ` andreast at gcc dot gnu dot org
  2005-02-22 15:06 ` rmathew at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: andreast at gcc dot gnu dot org @ 2005-02-22  7:46 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From andreast at gcc dot gnu dot org  2005-02-22 07:42 -------
[wolfram:~] andreast% gcj foo.java --main=foo -o foo.exe
[wolfram:~] andreast% ./foo.exe 
OK, Size is 15

[wolfram:~] andreast% gcj -v
Using built-in specs.
Reading specs from
/Volumes/src/gcc/gcc-cvs/testbin/lib/gcc/powerpc-apple-darwin7.8.0/4.0.0/../../../libgcj.spec
rename spec lib to liborig
Target: powerpc-apple-darwin7.8.0
Configured with: /Volumes/src/gcc/gcc-cvs/gcc/configure
--prefix=/Volumes/src/gcc/gcc-cvs/testbin --enable-languages=c,c++,java
--enable-java-awt=gtk,xlib --enable-gtk-cairo --disable-checking
--enable-libgcj-multifile


Just a fyi, it seems to work on cvs 4.0.0.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20135


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/20135] Returning true from LinkedHashMap.removeEldestEntry does not remove entry
  2005-02-22  7:44 [Bug libgcj/20135] New: Returning true from LinkedHashMap.removeEldestEntry does not remove entry thhal at mailblocks dot com
  2005-02-22  7:44 ` [Bug libgcj/20135] " thhal at mailblocks dot com
  2005-02-22  7:46 ` andreast at gcc dot gnu dot org
@ 2005-02-22  8:02 ` andreast at gcc dot gnu dot org
  2005-02-22 15:06 ` rmathew at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: andreast at gcc dot gnu dot org @ 2005-02-22  8:02 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From andreast at gcc dot gnu dot org  2005-02-22 07:44 -------
forgot the gcc version: 
gcc version 4.0.0 20050221 (experimental)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20135


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/20135] Returning true from LinkedHashMap.removeEldestEntry does not remove entry
  2005-02-22  7:44 [Bug libgcj/20135] New: Returning true from LinkedHashMap.removeEldestEntry does not remove entry thhal at mailblocks dot com
                   ` (2 preceding siblings ...)
  2005-02-22  8:02 ` andreast at gcc dot gnu dot org
@ 2005-02-22 15:06 ` rmathew at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rmathew at gcc dot gnu dot org @ 2005-02-22 15:06 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From rmathew at gcc dot gnu dot org  2005-02-22 07:51 -------
This was fixed a couple of days ago:

http://lists.gnu.org/archive/html/classpath/2005-02/msg00085.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20135


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-02-22  7:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-22  7:44 [Bug libgcj/20135] New: Returning true from LinkedHashMap.removeEldestEntry does not remove entry thhal at mailblocks dot com
2005-02-22  7:44 ` [Bug libgcj/20135] " thhal at mailblocks dot com
2005-02-22  7:46 ` andreast at gcc dot gnu dot org
2005-02-22  8:02 ` andreast at gcc dot gnu dot org
2005-02-22 15:06 ` rmathew at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).