[ 
https://issues.apache.org/jira/browse/SHINDIG-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Raible updated SHINDIG-43:
-------------------------------

    Attachment: SHINDIG-43.patch

The following patch seems like it may solve the problem, but I'm not sure. At 
the very least, it makes the results consistent between Java 5 and Java 6.

Before the patch, here's the results in Java 5:

# jsFeatures: 13
core.io
rpc
opensocial-reference
opensocial-samplecontainer
analytics
flash 
skins
views
minimessage
settitle
dynamic-height
tabs
setprefs

In Java 6:

# jsFeatures: 16
flash 
ifpc
analytics
caja
opensocial-reference
opensocial-samplecontainer
rpc
views
dynamic-height
setprefs
core
settitle
minimessage
skins
core.io
tabs

After the patch:

# jsFeatures: 14
analytics
caja
core.io
dynamic-height
flash
ifpc
minimessage
opensocial-reference
opensocial-samplecontainer
setprefs
settitle
skins
tabs
views

> jre1.5 (works on jre1.6) does not include dependent features
> ------------------------------------------------------------
>
>                 Key: SHINDIG-43
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-43
>             Project: Shindig
>          Issue Type: Bug
>          Components: Gadgets Server - Java
>         Environment: jdk1.5.0
>            Reporter: Bruno Bowden
>            Assignee: John Hjelmstad
>            Priority: Blocker
>         Attachments: SHINDIG-43.patch
>
>
> The ifpc feature depends on core, which inludes several js libraries such as 
> json.js.
> When making this request it should return both ifpc.js and json.js in the 
> same file:
>     http://localhost:8080/gadgets/js/ifpc.js
> On jdk1.6.0 this works correctly. However on jdk.1.5.0 it fails, only 
> returning ifpc.js and none of the transitive dependencies. This will cause 
> most gadgets to break as the core libraries will not be available.
> FAILS: jdk1.5.0
> WORKS: jdk1.6.0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to