You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (StringtrustedPackage : getTrustedPackages()) {
139
+
if (thePackage.getName().equals(trustedPackage) || thePackage.getName().startsWith(trustedPackage + ".")) {
140
+
found = true;
141
+
break;
142
+
}
143
+
}
144
+
if (!found) {
145
+
thrownewSecurityException("Forbidden " + clazz
146
+
+ "! This class is not trusted to be included in Avro schema using java-class. Please set org.apache.avro.SERIALIZABLE_PACKAGES system property with the packages you trust.");
0 commit comments