You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Jeff Miller (JIRA)" <ji...@apache.org> on 2017/11/27 15:24:00 UTC

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

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
cjolif@ilog.fr   <Christophe Jolif>
stephane@hillion.org  <Stephane Hillion>
Attached is Corrected Code.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org