Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57863 - dev-java/poi-2.0 various semantic errors
Summary: dev-java/poi-2.0 various semantic errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-21 08:41 UTC by Hans-Christian Armingeon
Modified: 2004-07-22 07:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2004-07-21 08:41:30 UTC
s declared type, not the instance's dynamic type.


    [javac]    371.         this.assertTrue("Read workbook, No exceptions" , true);
    [javac]                 ^-------------^
    [javac] *** Semantic Warning: Invoking the class method "assertTrue" via an instance is discouraged because the method invoked will be the one in the variable's declared type, not the instance's dynamic type.

    [javac] Issued 3 semantic warnings compiling "/var/tmp/portage/poi-2.0/work/src/testcases/org/apache/poi/poifs/eventfilesystem/TestPOIFSReaderRegistry.java":

    [javac]    118.                 Iterator listeners = registry.getListeners(paths[ j ],
    [javac]                                  ^-------^
    [javac] *** Semantic Warning: Local "listeners" shadows a field of the same name in "org.apache.poi.poifs.eventfilesystem.TestPOIFSReaderRegistry".


    [javac]    152.                 Iterator listeners = registry.getListeners(paths[ k ],
    [javac]                                  ^-------^
    [javac] *** Semantic Warning: Local "listeners" shadows a field of the same name in "org.apache.poi.poifs.eventfilesystem.TestPOIFSReaderRegistry".


    [javac]    193.                 Iterator listeners           =
    [javac]                                  ^-------^
    [javac] *** Semantic Warning: Local "listeners" shadows a field of the same name in "org.apache.poi.poifs.eventfilesystem.TestPOIFSReaderRegistry".

    [javac] Issued 1 semantic warning compiling "/var/tmp/portage/poi-2.0/work/src/testcases/org/apache/poi/poifs/filesystem/ReaderWriter.java":

    [javac]    118.             POIFSFileSystem filesystem = new POIFSFileSystem();
    [javac]                                     ^--------^
    [javac] *** Semantic Warning: Local "filesystem" shadows a field of the same name in "org.apache.poi.poifs.filesystem.ReaderWriter".

compile-scratchpad:
    [javac] Compiling 74 source files to /var/tmp/portage/poi-2.0/work/build/scratchpad-classes

    [javac] Found 1 semantic error compiling "/var/tmp/portage/poi-2.0/work/src/scratchpad/src/org/apache/poi/hdf/model/util/BTreeSet.java":

    [javac]    333.         public BTreeNode child;
    [javac]                        ^-------^
    [javac] *** Semantic Error: The static type "org.apache.poi.hdf.model.util.BTreeSet$Entry" must use a qualified name to access the non-static member type "org.apache.poi.hdf.model.util.BTreeSet$BTreeNode" of the enclosing type "org.apache.poi.hdf.model.util.BTreeSet".

    [javac] Found 1 semantic error compiling "/var/tmp/portage/poi-2.0/work/src/scratchpad/src/org/apache/poi/hdf/extractor/util/BTreeSet.java":

    [javac]    251.         public BTreeNode child;
    [javac]                        ^-------^
    [javac] *** Semantic Error: The static type "org.apache.poi.hdf.extractor.util.BTreeSet$Entry" must use a qualified name to access the non-static member type "org.apache.poi.hdf.extractor.util.BTreeSet$BTreeNode" of the enclosing type "org.apache.poi.hdf.extractor.util.BTreeSet".

BUILD FAILED
/var/tmp/portage/poi-2.0/work/build.xml:186: Compile failed; see the compiler error output for details.

Total time: 25 seconds

!!! ERROR: dev-java/poi-2.0 failed.
!!! Function src_compile, Line 32, Exitcode 1
!!! compile problem


Reproducible: Always
Steps to Reproduce:
1. emerge poi
2.
3.




Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 
2.6.7-gentoo-r9) 
================================================================= 
System uname: 2.6.7-gentoo-r9 i686 mobile AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.5.1 
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /lib/modules /usr/NX/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control /var/spool/fax/etc /var/vpopmail/domains /var/vpopmail/etc" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache distcc sandbox" 
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" 
MAKEOPTS="-j5" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib acl acpi afs aim alsa apache2 apm arts audiofile avi berkdb bidi 
bonobo caps cdr crypt cscope cups curl dga directfb divx4linux doc dvd dvdr 
emacs encode esd ethereal evo f77 fam fbcon fdftk fftw flac flash foomaticdb 
freetds gb gcj gdbm ggi gif gimpprint gmp gnome gnutls gphoto2 gpm gps 
gstreamer gtk gtk2 gtkhtml guile icq imagemagic imap imlib informix innodb 
ipv6 jabber jack java jikes joystick jpeg kde kerberos ladcca lcms ldap libg++ 
libgda libwww linguas_de lirc mad maildir mailwrapper mbox mcal memlimit 
mikmod mmx motif mozilla mpeg mpi msn mysql nas ncurses netcdf nls oav objc 
oci8 odbc offensive oggvorbis opengl oscar oss pam pcmcia pda pdflib perl 
plotutils png pnp postgres ppds prelude python qt quicktime readline ruby 
samba sasl scanner sdl slang slp snmp socks5 speex spell sse ssl svg svga szip 
tcltk tcpd tetex tiff truetype usb vhosts wifi wmf wxwindows x86 xinerama xml 
xml2 xmms xosd xv xvid yahoo yaz zlib"
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-07-22 07:46:41 UTC
Thanks fixed