Tibor17 commented on a change in pull request #332: URL: https://github.com/apache/maven-surefire/pull/332#discussion_r564431601
########## File path: maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporterTest.java ########## @@ -380,7 +381,7 @@ public void testSyncOnDeferredFile() throws Exception { Utf8RecodingDeferredFileOutputStream out = new Utf8RecodingDeferredFileOutputStream( "test" ); ByteBuffer cache = ByteBuffer.wrap( new byte[] {1, 2, 3} ); - cache.position( 3 ); + ( (Buffer) cache ).position( 3 ); Review comment: Can we declare the `cache` as `Buffer` in the tests as well? ---------------------------------------------------------------- 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: us...@infra.apache.org