Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 175876

Summary: dev-java/gjdoc-0.7.8 fails to compile; "illegal bytecode sequence"
Product: Gentoo Linux Reporter: Roel Brook <Rainmaker526>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Roel Brook 2007-04-24 15:40:18 UTC
While trying to compile dev-java/gjdoc-0.7.8 the following error is thrown:

javac -source 1.4 -target 1.4 -classpath :./src:.:/usr/share/antlr/lib/antlr.jar:.  -d classes src/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.java
=============== DEBUG MESSAGE: illegal bytecode sequence - method not verified ================

An exception has occurred in the compiler (1.4.2-03). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
java.lang.NullPointerException
        at com.sun.tools.javac.v8.code.ClassReader.sigToTypes(ClassReader.java:693)
        at com.sun.tools.javac.v8.code.ClassReader.sigToType(ClassReader.java:639)
        at com.sun.tools.javac.v8.code.ClassReader.sigToType(ClassReader.java:580)
        at com.sun.tools.javac.v8.code.ClassReader.readType(ClassReader.java:527)
        at com.sun.tools.javac.v8.code.ClassReader.readMethod(ClassReader.java:799)
        at com.sun.tools.javac.v8.code.ClassReader.readClass(ClassReader.java:883)
        at com.sun.tools.javac.v8.code.ClassReader.readClassFile(ClassReader.java:936)
        at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1091)
        at com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:1049)
        at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:372)
        at com.sun.tools.javac.v8.code.Symbol$ClassSymbol.complete(Symbol.java:691)
        at com.sun.tools.javac.v8.code.ClassReader.loadClass(ClassReader.java:1130)
        at com.sun.tools.javac.v8.comp.Resolve.loadClass(Resolve.java:471)
        at com.sun.tools.javac.v8.comp.Resolve.findGlobalType(Resolve.java:532)
        at com.sun.tools.javac.v8.comp.Resolve.findType(Resolve.java:588)
        at com.sun.tools.javac.v8.comp.Resolve.findIdent(Resolve.java:615)
        at com.sun.tools.javac.v8.comp.Resolve.resolveIdent(Resolve.java:781)
        at com.sun.tools.javac.v8.comp.Attr.visitIdent(Attr.java:1023)
        at com.sun.tools.javac.v8.tree.Tree$Ident.accept(Tree.java:1111)
        at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198)
        at com.sun.tools.javac.v8.comp.Attr.attribType(Attr.java:228)
        at com.sun.tools.javac.v8.comp.Enter$MemberEnter.visitVarDef(Enter.java:795)
        at com.sun.tools.javac.v8.tree.Tree$VarDef.accept(Tree.java:511)
        at com.sun.tools.javac.v8.comp.Enter$MemberEnter.memberEnter(Enter.java:715)
        at com.sun.tools.javac.v8.comp.Enter$MemberEnter.memberEnter(Enter.java:727)
        at com.sun.tools.javac.v8.comp.Enter$CompleteEnter.finish(Enter.java:944)
        at com.sun.tools.javac.v8.comp.Enter$CompleteEnter.complete(Enter.java:931)
        at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:372)
        at com.sun.tools.javac.v8.code.Symbol$ClassSymbol.complete(Symbol.java:691)
        at com.sun.tools.javac.v8.comp.Enter.complete(Enter.java:601)
        at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:582)
        at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:331)
        at com.sun.tools.javac.v8.Main.compile(Main.java:569)
        at com.sun.tools.javac.Main.compile(Main.java:36)
        at com.sun.tools.javac.Main.main(Main.java:27)
make: *** [classes/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.class] Fout 4

GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""

Portage 2.1.2.4 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-viper7 x86_64)
=================================================================
System uname: 2.6.20-viper7 x86_64 Intel(R) Pentium(R) D CPU 3.40GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 24 Apr 2007 14:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -funroll-loops -fweb -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -funroll-loops -fweb -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="nl_NL"
LC_ALL="nl_NL"
LINGUAS="nl"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mozilla /usr/portage/local/layman/voip /usr/portage/local/layman/pok3d /usr/portage/local/layman/xeffects /usr/portage/local/layman/kde /usr/portage/local/layman/berkano /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 apache2 bash-completion berkdb bitmap-fonts bri bzip2 cairo cdr cli cracklib crypt cups curl dbus directfb dvd dvdr dvdread eds emboss emerald encode esd evo fam ffmpeg firefox flac fortran fuse gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv imagemagick insecure-savers ipod isdnlog java javascript jpeg kde latex ldap libg++ live lzo mad mbox midi mikmod mjpeg mono mozbranding mp3 mpeg musepack musicbrainz mysql ncurses new-login nls nptl nptlonly nsplugin offensive ogg opengl oss pam pcre pda pdf perl png pop3d postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl ssl stroke svg tcl tcltk tcpd theora threads thunderbird tiff tk truetype truetype-fonts type1-fonts unicode vcd visualization vorbis vpopmail xcomposite xml xorg xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS



Reproducible: Always

Steps to Reproduce:
Comment 1 Roel Brook 2007-04-30 00:22:10 UTC
After an emerge --sync a few days later, this issue seems to have been resolved.

Thanks to whoever fixed it :)
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-04-30 08:55:06 UTC
(In reply to comment #1)
> After an emerge --sync a few days later, this issue seems to have been
> resolved.
> 
> Thanks to whoever fixed it :)
> 

Or it's possible that your compile environment was different etc. But glad to hear that it's gone.