[Bug java/50520] New: getReaderForText never returns
gccbugs.8.enormator at xoxy dot net
gcc-bugzilla@gcc.gnu.org
Sun Sep 25 23:37:00 GMT 2011
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)
More information about the Java-prs
mailing list