Added a note to the serialization section regarding desugared names #21263
* Updated note with changes from PR * Updated note with changes from PR
This commit is contained in:
parent
549d9de7c9
commit
a397696f05
2 changed files with 15 additions and 0 deletions
|
|
@ -35,6 +35,14 @@ one of which all other candidates are superclasses. If this condition cannot be
|
|||
met, because e.g. ``java.io.Serializable`` and ``MyOwnSerializable`` both apply
|
||||
and neither is a subtype of the other, a warning will be issued.
|
||||
|
||||
.. note::
|
||||
|
||||
If you are using Scala for your message protocol and your messages are contained
|
||||
inside of a Scala object, then in order to reference those messages, you will need
|
||||
use the fully qualified Java class name. For a message named ``Message`` contained inside
|
||||
the Scala object named ``Wrapper`` you would need to reference it as
|
||||
``Wrapper$Message`` instead of ``Wrapper.Message``.
|
||||
|
||||
Akka provides serializers for :class:`java.io.Serializable` and `protobuf
|
||||
<http://code.google.com/p/protobuf/>`_
|
||||
:class:`com.google.protobuf.GeneratedMessage` by default (the latter only if
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue