Skip to content

Support for JNA 5 (java.lang.NoSuchFieldError: SIZE) #73

@dbdr

Description

@dbdr

I'm getting this exception:

java.lang.NoSuchFieldError: SIZE
       at com.github.markusbernhardt.proxy.jna.win.WTypes2$LPWSTRByReference.<init>(WTypes2.java:42)

A web search on "java.lang.NoSuchFieldError: SIZE" points to cases where code built for JNA 4.5 being used with JNA 5. Proxyvole 1.0.5 depends on JNA 4.5.1. The problem is that when using other dependencies that require JNA 5, that version will be picked, probably causing the failure in proxyvole.

Would it be possible for proxyvole to upgrade to JNA 5?

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