doc/examples/notify/ExampleLowBattery.java:63: cannot find symbol symbol : constructor Notification(java.lang.String,java.lang.String,java.lang.String,org.gnome.gtk.StatusIcon) location: class org.gnome.notify.Notification notification = new Notification("Low Battery Example", "Your battery is low!", ^ Note: tests/bindings/org/gnome/gtk/ValidateTreeView.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error make: *** [doc] Error 1 emake failed I've fixed that but it then fails with: AVADOC doc/api/*.html tmp/bindings/org/gnome/unique/UniqueMessageData.class:1: warning: unmappable character for encoding UTF-8 ????^@^@^@1^@L ^ tmp/bindings/org/gnome/unique/UniqueMessageData.class:1: warning: unmappable character for encoding UTF-8 ????^@^@^@1^@L ^ tmp/bindings/org/gnome/unique/UniqueMessageData.class:1: warning: unmappable character for encoding UTF-8 ????^@^@^@1^@L It shouldn't be trying to read class files as text. Reproducible: Always Portage 2.2.0_alpha28 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38.rivendell-00130-g422e6c4 x86_64) ================================================================= System uname: Linux-2.6.38.rivendell-00130-g422e6c4-x86_64-Intel-R-_Xeon-R-_CPU_X5482_@_3.20GHz-with-gentoo-2.0.2 Timestamp of tree: Sun, 27 Mar 2011 01:15:01 +0000 ccache version 3.1.4 [enabled] app-shells/bash: 4.2_p8 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.38 (sys-kernel/linux-headers) Repositories: gentoo xmmsroot2_overlay java-overlay fixes-overlay kde-sunset Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FSF-APPROVED-EXT @X11-LICENSES @PRESUMED-FOSS @CREATIVE-COMMONS TeX MOTIF popt unRAR" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2 -ggdb -mno-tls-direct-seg-refs" 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/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/yp/Makefile" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=core2 -ggdb -mno-tls-direct-seg-refs" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo " LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_GB" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/gentoo/xmmsroot2-overlay /usr/local/gentoo/java-overlay /usr/local/gentoo/fixes-overlay /var/lib/layman/kde-sunset" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups curl cvs cxx dbus dga dirac djvu dri dts dv dvb dvd dvdr eds emacs emboss encode evo exif fam ffmpeg fftw firefox flac fontconfig fortran ftp fuse gcj gd gdbm gdu gif gimp gmp gnome gnome-keyring gnutls gpm graphviz gs gstreamer gtk gtkhtml hal hddtemp iconv idn ieee1394 imagemagick imap ipv6 java java5 java6 javascript jbig jpeg jpeg2k kde kerberos ladspa lame latex lcms libass libcaca libnotify libsamplerate lm_sensors lzma lzo mad mbox mikmod mmap mmx mng modules mp3 mp4 mpeg mpi mudflap multilib musepack musicbrainz ncurses nis nls nntp nptl nptlonly ntp ogg openexr opengl openmp pam pango pch pcre pdf perl png policykit postgres ppds pppd pulseaudio python qt3 qt3support qt4 readline sasl schroedinger sdl session sndfile sox speex spell sqlite sse sse2 ssl ssse3 startup-notification subversion svg sysfs taglib tcpd tga theora threads tiff truetype udev unicode urandom usb vorbis wavpack wmf x264 xattr xcb xcomposite xft xml xmmsroot2 xorg xosd xprint xscreensaver xulrunner xv xvid zeroconf 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" LIRC_DEVICES="hauppauge_dvb" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 267451 [details, diff] Fix for the low battery example
Created attachment 267461 [details] Build log
(In reply to comment #1) > Created attachment 267451 [details, diff] > Fix for the low battery example This is due to libnotify-0.7 api change (I should have fixed the example as well as the api) But setIcon shouldn't be called at all, it's not the icon that's used in the notification but the status icon which notification is attached to (and you can't attach notifications to icons in 0.7) I'll fix the example as needed.
I couldn't reproduce the second issue with icedtea-6.1.9.7-r1. I fixed the blocker issue in CVS so can you paste a newer log which I can get the 2nd issue.
As tested with Andrew the second issue is a bug with icedtea 1.10 which is not in tree yet. So closing as FIXED (The second part is actually WORKSFORME)