Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Problem serializing Exceptions with OSGIObjectOutputStream

On 10/12/2018 5:48 AM, Peter Hermsdorf wrote:
Hi,

after upgrading to the latest ECF release i faced another problem with the "new" serialization.

Serializing Exceptions lead to StackOverflow errors.

I created a bug report with test case https://bugs.eclipse.org/bugs/show_bug.cgi?id=540082


Bonus question: What was the intention/use case/requirement for implementing "another serialization" (OSGIObjectOutputStream)?

To support OSGi R7 intents.   'osgi.basic' intent requires being able to serialize Version, DTOs and a few other OSGi classes [1] when they appear as arguments or return values.

Scott

[1] https://osgi.org/specification/osgi.cmpn/7.0.0/service.remoteservices.html#service.remoteservices-osgi.basic



Thanks, Bye Peter


_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev




Back to the top