KalleOlaviNiemitalo commented on PR #3333:
URL: https://github.com/apache/avro/pull/3333#issuecomment-2708306418

   Previously, if the org.apache.avro.SERIALIZABLE_PACKAGES system property was 
set as "*", then only that was added to SERIALIZABLE_PACKAGES and to 
trustedPackages, and trustAllPackages() saw that trustedPackages was a 
one-element list containing only "*" so it returned true.
   
   Now with this PR, trustedPackages will contain the default trusted packages 
as well, so it won't be a one-element list, and trustAllPackages() will return 
false.
   
   That's why I think this should not be merged as is.
   
   Is it possible to add a test case for that regression?  I'm not sure how to 
isolate system property changes from other tests running in parallel.
   
   


-- 
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