This is an exported version of the JIRA issue tracker. Please use the Google Code site to open new tickets or report updates to these existing tickets. Feel free to contact the mailing list with any questions.

[RRR-73] Improve applet to work in java 1.4
Created: Thu, 3 Feb 2005 14:37:54 -0800 (PST)  Updated: Mon, 14 Feb 2005 09:17:30 -0800 (PST)

Status:Closed
Project:ReportRunner
Component/s:Renderers
Affects Version/s:
Fix Version/s:0.4

Type:ImprovementPriority: Major
Reporter:Henri YandellAssignee:Henri Yandell
Resolution:Fixed 
Environment:


 Description   
The applet for jfreecharting currently only works in 1.5 due to crappiness on my part.
Comment by bayard [ Fri, 11 Feb 2005 17:49:02 -0800 (PST) ]
Figured it out!!#!$%!

It's a bug in the JVM(?). You can't deserialize a java.util.Timezone in an Applet under 1.4. It breaks permissions to talk to sun.util.Calendar. Odd that you can deserialize a java.util.Calendar.

Solutions?

* Upgrade to 1.5
* Sign applet
* Modify 1.4 security model
* Change JFreeChart
Comment by bayard [ Mon, 14 Feb 2005 09:15:34 -0800 (PST) ]
Security change is to add:

// HACK for ReportRunner under JDK 1.4.x
    permission java.lang.RuntimePermission "accessClassInPackage.sun.util.calendar";

to the JAVA_HOME/lib/security/java.policy
Comment by bayard [ Mon, 14 Feb 2005 09:17:30 -0800 (PST) ]
As fixed as it's going to get.