siom79 / japicmp

Comparison of two versions of a jar archive
https://siom79.github.io/japicmp
Apache License 2.0
701 stars 107 forks source link

Class had changed, but the result is UNCHANGED. #336

Closed javalover123 closed 1 year ago

javalover123 commented 1 year ago

cn.hutool.bloomfilter.bitMap.IntMap.remove() had changed, but the result is UNCHANGED.

java -jar japicmp-0.16.0-jar-with-dependencies.jar --ignore-missing-classes -n hutool-all-4.5.15.jar -o hutool-all-4.5.10.jar New jar Old jar

image

siom79 commented 1 year ago

What has changed?

javalover123 commented 1 year ago

New version delete static field MAX, and modify remove().

Old New

siom79 commented 1 year ago

The signature of the remove method did not change: void remove(long). The MAX constant is private.