Date: Fri, 07 Feb 1997 09:13:49 +0000
From: David Boydston <dhboy@sb.net>
To: java-security@java
Subject: Is this possible with 1.1?
Greetings,
We are using 1.1beta3 to create *signed* JAR files, so far so good...but
when we include DLL's in the JAR file, we are getting errors when we
attemt to call the native method(s).
The error shown below is the result of a call to a SerGetLibVer whos
only function is to return an int.
This Applet was built from a *working* Application.
G:\JDK1.1b3\JavaDev\SerPort\WinTerm\Applet>AppletViewer
AppletTermSig.html
loading G:\JDK1.1B3\JAVA\BIN\..\lib\awt.properties
SerialPort class detected: JDK1.1beta3.3 and loaded: jSerPortDemo
java.lang.UnsatisfiedLinkError: SerGetLibVer
at SerialPort.GetLibVer(SerialPort.java:163)
at SerialPort.<init>(SerialPort.java:66)
at WinTerm.<init>(AppletTerm.java:90)
at AppletTerm.action(AppletTerm.java:30)
at java.awt.Component.handleEvent(Component.java:1854)
at java.awt.Component.postEvent(Component.java:1449)
at java.awt.Component.postEvent(Component.java:1459)
at java.awt.Component.dispatchEvent(Component.java:1356)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:109)
If this is a known bug thats fine, we will wait for the next
release...the important questions are:
1) Should this work (i.e. is this part of the plan)?
2) Are there any additional docs to those in 1.1b3 that discuss details
of this?
-- Dave Boydston Solutions Consulting