public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/18114] New: ByteBuffer.allocateDirect does not return a direct buffer
@ 2004-10-22 19:45 juhal at users dot sourceforge dot net
  2004-10-22 20:04 ` [Bug libgcj/18114] " konqueror at gmx dot de
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: juhal at users dot sourceforge dot net @ 2004-10-22 19:45 UTC (permalink / raw)
  To: java-prs

ByteBuffer.allocateDirect calls DirectByteBufferImpl.allocate which does not
exist. So the call goes to ByteBuffer.allocate (as DirectByteBufferImpl extends
from ByteBuffer) which returns a regular (non-direct) ByteBuffer.

-- 
           Summary: ByteBuffer.allocateDirect does not return a direct
                    buffer
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: juhal at users dot sourceforge dot net
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org,konqueror at gmx dot de


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


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

* [Bug libgcj/18114] ByteBuffer.allocateDirect does not return a direct buffer
  2004-10-22 19:45 [Bug libgcj/18114] New: ByteBuffer.allocateDirect does not return a direct buffer juhal at users dot sourceforge dot net
@ 2004-10-22 20:04 ` konqueror at gmx dot de
  2004-10-22 20:09 ` juhal at users dot sourceforge dot net
  2004-11-22 14:02 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: konqueror at gmx dot de @ 2004-10-22 20:04 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From konqueror at gmx dot de  2004-10-22 20:03 -------
Confirmed 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-22 20:03:57
               date|                            |


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


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

* [Bug libgcj/18114] ByteBuffer.allocateDirect does not return a direct buffer
  2004-10-22 19:45 [Bug libgcj/18114] New: ByteBuffer.allocateDirect does not return a direct buffer juhal at users dot sourceforge dot net
  2004-10-22 20:04 ` [Bug libgcj/18114] " konqueror at gmx dot de
@ 2004-10-22 20:09 ` juhal at users dot sourceforge dot net
  2004-11-22 14:02 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: juhal at users dot sourceforge dot net @ 2004-10-22 20:09 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From juhal at users dot sourceforge dot net  2004-10-22 20:09 -------
The patch from #18116 contains a fix for the problem
http://gcc.gnu.org/bugzilla/attachment.cgi?id=7403&action=view


-- 


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


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

* [Bug libgcj/18114] ByteBuffer.allocateDirect does not return a direct buffer
  2004-10-22 19:45 [Bug libgcj/18114] New: ByteBuffer.allocateDirect does not return a direct buffer juhal at users dot sourceforge dot net
  2004-10-22 20:04 ` [Bug libgcj/18114] " konqueror at gmx dot de
  2004-10-22 20:09 ` juhal at users dot sourceforge dot net
@ 2004-11-22 14:02 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-22 14:02 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-22 14:01 -------
Fixed on the mainline by:
2004-11-17  Michael Koch  <konqueror@gmx.de>
        
        *  java/nio/DirectByteBufferImpl.java
        (owner): Updated comment.
        (allocate): New method.

<http://gcc.gnu.org/ml/java-patches/2004-q4/msg00638.html>.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2004-11-22 14:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-22 19:45 [Bug libgcj/18114] New: ByteBuffer.allocateDirect does not return a direct buffer juhal at users dot sourceforge dot net
2004-10-22 20:04 ` [Bug libgcj/18114] " konqueror at gmx dot de
2004-10-22 20:09 ` juhal at users dot sourceforge dot net
2004-11-22 14:02 ` pinskia 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).