sarutak commented on PR #2430:
URL: https://github.com/apache/avro/pull/2430#issuecomment-1671737258

   > This use of the dollar sign is apparently defined in Java language 
specification ยง13.1 (The Form of a Binary), so all Java compilers should 
generate the same binary name Test$M. However, for local or anonymous classes, 
the JLS requires "a non-empty sequence of digits", and I think different 
compilers could choose different digits. Application developers then should not 
use such classes for Avro data, as it would be difficult from them to ensure 
that the name stays the same.
   
   I know that `$` is automatically generated for inner classes and it's ideal 
that users don't use such classes. But protobuf generates such classes and the 
Java binding supports a feature that generates a schema from protobuf-generated 
classes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to