Skip to content

Broken detection when using Java 16+ #31

@mideuger

Description

@mideuger

Java 16+ broke the N+1 query detection, it seems that the proxy's package has changed.

I've tested locally and setting the value of PROXY_METHOD_PREFIX to jdk.proxy2 instead of com.sun.proxy in those versions does the trick.

I would happily submit a PR that checks the Java runtime version and set the PROXY_METHOD_PREFIX accordingly if that's an acceptable solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions