Skip to content

Instantly share code, notes, and snippets.

View felixbarny's full-sized avatar

Felix Barnsteiner felixbarny

View GitHub Profile
@felixbarny
felixbarny / NativeBinding.java
Last active January 9, 2020 14:16 — forked from raphw/NativeBinding.java
Example of a shadingproof JNI binding.
package com.shadeproof;
import net.bytebuddy.ByteBuddy;
public abstract class NativeBinding {
public static final NativeBinding INSTANCE;
static {
String expected = "!com!shadeproof!NativeBinding!";