public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "gccbugs.8.enormator at xoxy dot net" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/50520] New: getReaderForText never returns
Date: Sun, 25 Sep 2011 23:37:00 -0000	[thread overview]
Message-ID: <bug-50520-8172@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 50520
           Summary: getReaderForText never returns
    Classification: Unclassified
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gccbugs.8.enormator@xoxy.net
              Host: x86_64-linux-gnu (Xubuntu 11.04)
            Target: x86_64-linux-gnu


Created attachment 25364
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25364
a minimized code sample that can reproduce the bug

the method getReaderForText in the class DataFlavor seems not to terminate. In
the minimal example program I attached, "initialized" is printed but then
nothing else. The expected behavior would be that this program prints
"initialized" and then prints "reader initialized" and then prints the content
of the clipboard.

exact commandline used: gcj -Wall -Wextra --main=ClipboardReadTest
ClipboardReadTest.java
there are no warnings or errors produced.

The .i file is not attached because the .java file is a minimized test file
which includes no other files.

gcj -v says this:
Using built-in specs.
Reading specs from
/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
COLLECT_GCC=gcj
COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.5.2-8ubuntu1' --with-bugurl=file:///usr/share/doc/gcj-4.5/README.Bugs
--enable-languages=c,c++,java --prefix=/usr --program-suffix=-4.5
--enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu
--enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib/x86_64-linux-gnu --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5
--libdir=/usr/lib/x86_64-linux-gnu --enable-nls --with-sysroot=/
--enable-clocale=gnu --enable-libstdcxx-time=yes --disable-libmudflap
--enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.5/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.5
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.5
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--disable-werror --with-arch-32=i686 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu1)


                 reply	other threads:[~2011-09-25 23:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=bug-50520-8172@http.gcc.gnu.org/bugzilla/ \
    --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).