Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsEquinox Luna SR1 patch in RAP 3.0
https://www.eclipse.org/forums/index.php/mv/msg/856806/1473270/#msg_1473270
it seems Equinox Luna SR1 is provided with RAP 3.0 (in org.eclipse.rap.equinox.target.feature)
The issue is, equinox put non String values in System Properties, so if a bundle (yours or a third-party) iterates through System properties, it throws ClassCastException
In my opinion Server-Side application can be impacted, as there are thrid-party bundles suffering from this bug like pax-logging for example, so RAP 3.0 should provides patch feature as well with Lunas SR1 Equinox, or at least document the availability of the patch in 4.4 update site.
Regards,
Arnaud
]]>Arnaud MERGEY2014-11-14T13:33:28-00:00Re: Equinox Luna SR1 patch in RAP 3.0
https://www.eclipse.org/forums/index.php/mv/msg/856806/1473391/#msg_1473391
you are correct, this could be an issue, I haven't thought about it yet.
You were speaking about RAP 3.0... today we release M3 which is available in two different flavours.
There's the p2 repository http://download.eclipse.org/rt/rap/3.0/M3-20141110-1349/ which is based on Luna SR1 and may be affected by this problem. What we could plan for our next 3.0 milestone is using the patched bundle org.eclipse.osgi_3.10.2.v20141020-1740.jar instead of the version from Eclipse Platform 4.4.1.
And then there is the 'Mars' (or Eclipse Platform 4.5) based stream that we are contributing to the next Simultaneous Release. This contribution contains the updated bundle from the 4.5-stream (in M3 it is org.eclipse.osgi_3.10.100.v20141020-1414.jar). To the best of my knowledge the fix is already included in it. You can access this Mars-based version from our p2 repository (http://download.eclipse.org/rt/rap/3.0/M3-20141110-1349.mars), or since a few minutes from http://download.eclipse.org/releases/mars/.
I assume early adopters of the 3.0 development stream are skilled enough to include the patched OSGi bundle, if they are facing this problem. At least, that is my hope.
But we need to discuss if we need to do something for RAP 2.3.1 which is based on Luna SR1, too. And this is a released version that many people will use in production.