Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.20.0
-
None
-
None
Description
```
@Override
protected List<Duplication> getErrorDetails( File cpdFile )
throws XmlPullParserException, IOException
{
try ( FileReader fileReader = new FileReader( cpdFile ) )
}
```
It passes or fails depending on the system encoding. Instead it should use an inputstream rather than a reader and rely on the XML parser to detect the encoding. This breaks integration tests on some but not all platforms, again depending on whether the system encoding is or is not compatible with ISO-8859-1
Attachments
Issue Links
- links to