Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2008 15:20:03 GMT
From:      Marcin Cieslak <saper@SYSTEM.PL>
To:        freebsd-java@FreeBSD.org
Subject:   Re: java/119654: jdk 1.6: java.awt.SplashScreen#getSplashScreen throws UnsatisfiedLinkError
Message-ID:  <200801141520.m0EFK3Iv031519@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR java/119654; it has been noted by GNATS.

From: Marcin Cieslak <saper@SYSTEM.PL>
To: bug-followup@FreeBSD.org
Cc: martin.e.keller@unitedplanet.de
Subject: Re: java/119654: jdk 1.6: java.awt.SplashScreen#getSplashScreen throws
 UnsatisfiedLinkError
Date: Mon, 14 Jan 2008 15:48:35 +0100

 How-To-Repeat:
 
 Confirmed on 7.0-PRERELEASE on amd64 using jdk1.6 built from ports.
 
 1. Download and compile SplashDemo.java from
 
 http://java.sun.com/docs/books/tutorial/uiswing/misc/splashscreen.html
 
 2. JAVA_VERSION=1.6 java -splash:<someexistingimage> misc/SplashDemo
 
 fails with
 
 Exception in thread "main" java.lang.UnsatisfiedLinkError:
 /usr/local/jdk1.6.0/jre/lib/amd64/libsplashscreen.so:
 /usr/local/jdk1.6.0/jre/lib/amd64/libsplashscreen.so: Undefined symbol
 "jpeg_resync_to_restart"
 
 3. This command:
 
 LD_PRELOAD=/usr/local/lib/libjpeg.so.9 JAVA_VERSION=1.6 java
 -splash:/var/spool/obex/20080112b.jpg misc/SplashDemo
 
 works.
 
 % nm /usr/local/lib/libjpeg.so.9 | grep restart
 000000000000addb t emit_restart
 000000000000fb25 T jpeg_resync_to_restart
 0000000000011c40 t process_restart
 000000000000fa92 t read_restart_marker
 
 
 % nm /usr/local/jdk1.6.0/jre/lib/amd64/libjpeg.so | grep restart
 000000000002f0e0 t emit_restart
 0000000000029c20 t emit_restart
 0000000000017040 t process_restart
 000000000000f880 t process_restart
 00000000000149d0 t read_restart_marker
 
 -- 
               << Marcin Cieslak // saper@system.pl >>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801141520.m0EFK3Iv031519>