Skip to content

Found Native methods with no matching symbols for netty #16757

@rupeshkoushik07

Description

@rupeshkoushik07

I have done bytecode analysis for netty and found that there are native methods which donot have any symbols present in any of the libraries

Example (NativeStaticallyReferencedJniMethods.java declares native but the symbol is not exported )

io.netty.channel.epoll.NativeStaticallyReferencedJniMethods.ssizeMax: 
io.netty.channel.epoll.NativeStaticallyReferencedJniMethods.iovMax: 
com.datastax.shaded.netty.channel.epoll.NativeStaticallyReferencedJniMethods.ssizeMax: 
io.netty.channel.epoll.NativeStaticallyReferencedJniMethods.uioMaxIov: 
io.netty.channel.epoll.NativeStaticallyReferencedJniMethods.uioMaxIov: 
com.datastax.shaded.netty.channel.epoll.NativeStaticallyReferencedJniMethods.uioMaxIov: 
com.datastax.shaded.netty.channel.epoll.NativeStaticallyReferencedJniMethods.iovMax: 

The native declarations exist in NativeStaticallyReferencedJniMethods.class but the C implementations are gated on a build flag that is off

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions