You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the annotation, you allow private & protected field to be access.
In pure java, you can't access those fields so I use JSNI to access them (no restriction in Javascript).
About the error itself on long, not sure I can do something.
You could annotate the generated JSNI methods with UnsafeNativeLong so that the compiler ignores it. See GWT JSNI documentation. But this could result in incorrect values, as described in this stackoverflow question.
I am using gwt-maven-plugin:2.8.0-rc2
I am getting error:
type 'long' is not safe to access in JSNI code
The error is in the generated code.
The text was updated successfully, but these errors were encountered: