Home / Function/ java25MustHaveCleanerImplAvailable() — netty Function Reference

java25MustHaveCleanerImplAvailable() — netty Function Reference

Architecture documentation for the java25MustHaveCleanerImplAvailable() function in PlatformDependentTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6883b03c_1254_9c1b_e2fc_149c59f4003b["java25MustHaveCleanerImplAvailable()"]
  ff6bfe0a_3221_685f_da78_ee06b9ccc3c6["PlatformDependentTest"]
  6883b03c_1254_9c1b_e2fc_149c59f4003b -->|defined in| ff6bfe0a_3221_685f_da78_ee06b9ccc3c6
  style 6883b03c_1254_9c1b_e2fc_149c59f4003b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/PlatformDependentTest.java lines 164–171

    @EnabledForJreRange(min = JRE.JAVA_25)
    @Test
    void java25MustHaveCleanerImplAvailable() throws Exception {
        assertTrue(CleanerJava25.isSupported(),
                "The CleanerJava25 implementation must be supported on Java 25+");
        // Note: we're not testing on `PlatformDependent.directBufferPreferred()` because some builds
        // might intentionally disable it, in order to exercise those code paths.
    }

Domain

Subdomains

Frequently Asked Questions

What does java25MustHaveCleanerImplAvailable() do?
java25MustHaveCleanerImplAvailable() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/PlatformDependentTest.java.
Where is java25MustHaveCleanerImplAvailable() defined?
java25MustHaveCleanerImplAvailable() is defined in common/src/test/java/io/netty/util/internal/PlatformDependentTest.java at line 164.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free