[jira] [Created] (BATIK-1210) jnlp/rmi Non-Serializable Component in batik-bridge class

"Jeff Miller (JIRA)" <[email protected]>
Newsgroups gmane.text.xml.batik.devel
Message-ID <[email protected]>
Jeff Miller created BATIK-1210:
----------------------------------

             Summary: jnlp/rmi  Non-Serializable Component in batik-bridge class
                 Key: BATIK-1210
                 URL: https://issues.apache.org/jira/browse/BATIK-1210
             Project: Batik
          Issue Type: Bug
          Components: Bridge
    Affects Versions: 1.9
         Environment: Linux - Windows
            Reporter: Jeff Miller
            Priority: Critical
             Fix For: 1.9
         Attachments: UserAgent.java

When Batik Libraries are used in a JNLP Environment, an error relating to an unserializable class is generated.

The Fix is easy, but would be nice, if I didn't have to employ it all of the time.
In  batik-bridge/src/main/java/org/apache/batik/bridge/UserAgent.java everytime I do 
an update.

Add "import java.io.Serializable;" to the list of Imports.
To the Interface Declaration:
public interface UserAgent extends Serializable {

This same change applies to the Batik 1.8 and the Batik 1.9 Library.
I do not have experience with any libraries predating Version 1.8
The Authors are listed as
[email protected]   <Christophe Jolif>
[email protected]  <Stephane Hillion>
Attached is Corrected Code.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.