RFC: fix problems in jforex charts

Omair Majid omajid at redhat.com
Mon Feb 27 13:02:23 PST 2012


Hi,

The attached patch fixes a problem with icedtea-web throwing exceptions
when presented with certain javscript results.

The following applet reproduces the problem:
http://www.fxstreet.com/rates-charts/forex-charts/?fxcm=1

The plugin log shows the following:

Consumption (priority=false) completed by consumer thread 0
  PIPE: appletviewer read: context 0 reference 39 JavaScriptCall
Waiting for data...
Found free worker (false) with id 0
Consumer thread 0 woken...
Consumer (priority=false) thread 0 consuming context 0 reference 39
JavaScriptCall
readPair: 'context' - '0' 10
readPair: 'reference' - '39' 23
readPair: 'JavaScriptCall' - 'null' 23
Breakdown -- type: context identifier: 0 reference: 39 src: null
privileges: null rest: "JavaScriptCall "

There is no value after JavaScriptCall, and the Java side fails to
handle such a case and throws an exception.

Okay to commit to HEAD/1.2? (Any others?)

Thanks,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: handle-null-responses.patch
Type: text/x-patch
Size: 711 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120227/fc88f301/handle-null-responses.patch 


More information about the distro-pkg-dev mailing list