We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac0fbac commit 93ad7b6Copy full SHA for 93ad7b6
driver-core/src/main/com/mongodb/internal/connection/tlschannel/util/DirectBufferDeallocator.java
@@ -50,8 +50,7 @@ private static class Java8Deallocator implements Deallocator {
50
51
Java8Deallocator() {
52
try {
53
- cleanerAccessor =
54
- Class.forName("sun.nio.ch.DirectBuffer").getMethod("cleaner", (Class<?>[]) null);
+ cleanerAccessor = Class.forName("sun.nio.ch.DirectBuffer").getMethod("cleaner");
55
clean = Class.forName("sun.misc.Cleaner").getMethod("clean");
56
} catch (NoSuchMethodException | ClassNotFoundException t) {
57
throw new RuntimeException(t);
0 commit comments