Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JiBX 1.1.5
-
Fix Version/s: JiBX 1.1.6
-
Component/s: core
-
Labels:None
-
Environment:Ubuntu and Red Hat Linux, Windows XP
-
Number of attachments :
Description
In version 1.1.5 on line 64 of UnmarshallingContext.java, the line 'String prop = System.getProperty("org.jibx.runtime.impl.parser");' throws a java security access exception when executed from within an applet and is not being caught. This did not happen in version 1.0 - the exception was being caught and ignored.
A solution to this problem would be having all users of the applet open up their java policies to allow reading of system properties; this however is very inconvenient and not an viable solution in our case.
Added a try-catch around the offending line.