vkolomeyko commented on PR #3693:
URL: https://github.com/apache/avro/pull/3693#issuecomment-5328316550
⚠️ @iemejia @gszadovszky
Avro version 1.12.2 has just been released. When upgrading our applications
from version 1.12.1 we started seeing unexpected exceptions like:
```
java.lang.SecurityException: Forbidden com.company.our.own.Class!
This class is not trusted to be included in Avro schemas.
at
org.apache.avro.util.ClassSecurityValidator.validate(ClassSecurityValidator.java:60)
at org.apache.avro.util.ClassUtils.forName(ClassUtils.java:99)
at
org.apache.avro.specific.SpecificData.getForSchema(SpecificData.java:215)
at
org.apache.avro.specific.SpecificDatumWriter.<init>(SpecificDatumWriter.java:47)
```
I.e. version 1.12.2 created an unwanted effect which now requires setting
`org.apache.avro.SERIALIZABLE_PACKAGES` to be able to work with this version of
the library.
--
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]