garydgregory commented on code in PR #712:
URL: https://github.com/apache/commons-compress/pull/712#discussion_r2382489959
##########
pom.xml:
##########
@@ -300,7 +300,26 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z,
arj.
<exclude>org.apache.commons.compress.harmony.pack200.SegmentMethodVisitor</exclude>
<exclude>org.apache.commons.compress.harmony.pack200.SegmentAnnotationVisitor</exclude>
<exclude>org.apache.commons.compress.harmony.pack200.SegmentFieldVisitor</exclude>
+ <!-- Compress 1.28.0 -> 1.29.0: make TarUtils final -->
+
<exclude>org.apache.commons.compress.archivers.tar.TarUtils#parseFromPAX01SparseHeaders(java.lang.String)</exclude>
+
<exclude>org.apache.commons.compress.archivers.tar.TarUtils#parsePAX01SparseHeaders(java.lang.String)</exclude>
+
<exclude>org.apache.commons.compress.archivers.tar.TarUtils#parsePAX1XSparseHeaders(java.io.InputStream,int)</exclude>
+
<exclude>org.apache.commons.compress.archivers.tar.TarUtils#parsePaxHeaders(java.io.InputStream,java.util.List,java.util.Map)</exclude>
+
<exclude>org.apache.commons.compress.archivers.tar.TarUtils#parsePaxHeaders(java.io.InputStream,java.util.List,java.util.Map,long)</exclude>
</excludes>
+ <!--
+ ~ JapiCmp does not support ignoring a specific compatibility
change for a single class.
+ ~ As a workaround, we override the change globally.
+ ~
+ ~ TODO: Remove after release 1.29.0.
+ -->
+ <overrideCompatibilityChangeParameters>
Review Comment:
OK, that makes sense; let's see what JApiCmp says about the ticket I
created: https://github.com/siom79/japicmp/issues/426
It would be nicer and better to bring in this change without messing with
JApiCmp, so if they agree and fix the issue, we can pick up a new version.
FWIW, the JLS' definition of binary compatible for final classes has changed
from version to version, which I didn't bother to talk about in the ticket.
--
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]