Labels: Type-Defect Priority-Medium
New issue 659 by mario.fu...@gmail.com: Use of Class.forName without
specifying the ClassLoader is not OSGi friendly
can cause a ClassNotFoundException when deserializing a protobuf message in
an OSGi environment.
More in general, using Class.forName without specifying the ClassLoader is
not OSGi friendly. Replacing that statement with the following one is
enough to fix this problem.
Class messageClass = Class.forName(messageClassName, true,
Nevertheless it would be even better if it was possible to pass to protobuf
a specific ClassLoader when performing a deserialization.
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups "Protocol
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.