AHeise commented on issue #11123: [FLINK-16014][s3] Force usage of 
SAXParserFactory over XMLReaderFactory in aws-java-sdk-s3.
URL: https://github.com/apache/flink/pull/11123#issuecomment-591978948
 
 
   > In JDK-8015099 a workaround was suggested to use `SAXParserFactory` 
instead. Have you looked into this as a potential solution?
   > What we could try is bundling an alternative version of the aws 
`XmlResponsesSaxParser` class which calls 
`SAXParserFactory.newSAXParser().getXMLReader()`.
   
   I used exactly that approach now.
   
   My previous approach never worked as intended as the current 
PluginClassLoader does not allow to overwrite a system class through plugin 
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to