Bug#99038: internal error using static synchronized

Matthias Klose doko@cs.tu-berlin.de
Wed May 30 13:43:00 GMT 2001

[bug submitted to the Debian BTS]
compiler version is CVS 010526 from the 3.0 branch.
// gcj-3.0 -c -O1 Bug.java
//  Bug.java: In class `Bug':
//  Bug.java: In method `Bug.get()':
//  Bug.java:3: Internal error: Segmentation fault

class Bug {
    static synchronized Object get(int i) { return null; }
    static synchronized Object get() { return get(1); }

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux robyn 2.4.0 #6 SMP Wed Jan 17 10:19:50 CET 2001 i686
Locale: LANG=en_US, LC_CTYPE=C

Versions of packages gcj-3.0 depends on:
ii  gcc-3.0                 1:3.0-0pre010526 The GNU C compiler.               
ii  gcc-3.0-base            1:3.0-0pre010526 The GNU compiler collection (base 
ii  java-common             0.7              Base of all Java packages         
ii  libc6                   2.2.3-4          GNU C Library: Shared libraries an
ii  libgcj2-dev             1:3.0-0pre010526 Java development headers and stati
ii  zlib1g                  1:1.1.3-15       compression library - runtime     

More information about the Java mailing list