public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "thomas at mycabin dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/16647] New: IntBuffer routine failure
Date: Tue, 20 Jul 2004 19:15:00 -0000	[thread overview]
Message-ID: <20040720191532.16647.thomas@mycabin.org> (raw)

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


             reply	other threads:[~2004-07-20 19:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20 19:15 thomas at mycabin dot org [this message]
2004-07-20 21:32 ` [Bug libgcj/16647] " pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040720191532.16647.thomas@mycabin.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).