Skip to content

Commit

Permalink
Handle animal-sniffer-maven-plugin issues with java.nio.* classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat-Jain committed Nov 11, 2024
1 parent 87ff5b6 commit 1d70a4f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1622,6 +1622,16 @@
<ignore>sun.misc.Unsafe</ignore>
<!-- ignore java reflection polymorphic api signatures -->
<ignore>java.lang.invoke.MethodHandle</ignore>
<!--
For the following java.nio.* classes, we get errors like: "Undefined reference: java.nio.ByteBuffer java.nio.ByteBuffer.clear()"
GitHub issue: https://github.com/mojohaus/animal-sniffer/issues/4
-->
<ignore>java.nio.ByteBuffer</ignore>
<ignore>java.nio.IntBuffer</ignore>
<ignore>java.nio.CharBuffer</ignore>
<ignore>java.nio.FloatBuffer</ignore>
<ignore>java.nio.DoubleBuffer</ignore>
<ignore>java.nio.MappedByteBuffer</ignore>
</ignores>
</configuration>
</execution>
Expand Down

0 comments on commit 1d70a4f

Please sign in to comment.