public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/16647] New: IntBuffer routine failure
@ 2004-07-20 19:15 thomas at mycabin dot org
2004-07-20 21:32 ` [Bug libgcj/16647] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: thomas at mycabin dot org @ 2004-07-20 19:15 UTC (permalink / raw)
To: gcc-bugs
I hope this hasn't been reported before. Bugzilla did not report anything
with the word asIntBuffer in it.
I am trying to do some buffer calls. A simple call to asIntBuffer() fails
with:
Exception in thread "main" java.lang.IllegalArgumentException
at java.nio.Buffer.limit(int) (/usr/lib/libgcj.so.4.0.0)
at gnu.java.nio.ByteBufferImpl.asIntBuffer() (/usr/lib/libgcj.so.4.0.0)
at example.main(java.lang.String[]) (Unknown Source)
Here is the sample routine that produced this error:
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
public class example {
public static void main(String args[]) {
ByteBuffer bb = ByteBuffer.allocate(4);
IntBuffer ib = bb.asIntBuffer();
}
}
here is the output of gcj -dumpversion:
3.3.1
I am running on a Mandrake Linux 9.2 system.
AMD Athlon 1.2 Ghz CPU
256 MB of crucial ram.
Any more information required please contact me.
Thanks for your attention to this.
Tom Green
--
Summary: IntBuffer routine failure
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thomas at mycabin dot org
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=16647
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug libgcj/16647] IntBuffer routine failure
2004-07-20 19:15 [Bug libgcj/16647] New: IntBuffer routine failure thomas at mycabin dot org
@ 2004-07-20 21:32 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-20 21:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-20 21:32 -------
Fixed on the mainline and not a regression so closing as fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16647
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-07-20 21:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-20 19:15 [Bug libgcj/16647] New: IntBuffer routine failure thomas at mycabin dot org
2004-07-20 21:32 ` [Bug libgcj/16647] " 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).