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
[Java.Interop] Review Critical and High Gendarme reports (#196)
Checked and handled the Gendarme reports labeled with
**Severity: Critical** and **Severity: High** in `make fxcop` output.
In one case refactored the `JniRuntime.RaisePendingException()` method
to reuse code by calling `JniEnvironment.Exceptions.Throw()`.
# This method is used in Java.Interop.GenericMarshaler.dll, the internals are visible to this assembly. Looks like gendarme doesn't know InternalsVisibleTo attribute.
# This method constructs JavaException and calls ToString () on it. We only care about Java stack trace here, so we don't need to throw the exception to get managed StackTrace.
0 commit comments