Skip to content

Releases: BlueberryMC/NativeUtil

2.1.2

07 Sep 07:46
7e556df
Compare
Choose a tag to compare

Changes since 2.1.0:

  • 🐛 Fix library on MacOS

2.1.0

07 Apr 18:11
c194dd4
Compare
Choose a tag to compare

Changes since 1.2.7:

  • 💥 Moved package from net.blueberrymc.native_util to net.blueberrymc.nativeutil (migration: just remove the underscore)
  • ➕ Added NativeType annotation to add more information about parameters
  • ➕ Added callType and callNonvirtualType methods which takes MethodIDInfo * as first parameter
  • ➕ Added getMethodId(Method) which returns MethodIDInfo * for methods above (make sure to read javadocs before using this method, this method has side effects)
  • ➕ Added getMethodFromId(long, boolean) which takes MethodIDInfo * and is_static as arguments and returns the java.lang.reflect.Method
  • ➕ Added free(long) to free the memory block
  • ➕ Added memset(long, int, int)
  • ➕ Added BoxedValue class to pass the boxed argument to the method which has boxed primitive type as a parameter (See https://github.com/BlueberryMC/NativeUtil/blob/c194dd4f61f7f147fc5f49944db00f537b68d867/src/test/java/net/blueberrymc/nativeutil/NativeUtilTest.java#L40-L43 for example)
  • ➖ Removed Benchmark class from test source

1.2.7

17 Mar 03:01
f50b09c
Compare
Choose a tag to compare
  • Add support for Mac OS (.dylib)
  • Make NativeAccessor public

1.2.6

04 Jan 04:21
00d614e
Compare
Choose a tag to compare
Update README.md

1.2.5

20 Oct 15:20
1fdb2e9
Compare
Choose a tag to compare
Fix ClassLoadHook registering twice

1.2.2

20 Jul 09:10
e8c423e
Compare
Choose a tag to compare
Cache jvmtiEnv/JavaVM for MUCH faster work

1.2.0

20 Jul 07:14
ef14b3d
Compare
Choose a tag to compare
Good news: now i know test doesn't work on linux

v1.1.0

09 Apr 07:35
78c51a6
Compare
Choose a tag to compare
  • Added NativeUtil#allocateInstance

v1.0.0

08 Apr 13:49
a2526a0
Compare
Choose a tag to compare

Contains these 2 initial features:

  • NativeUtil#appendToBootstrapClassLoaderSearch(String url)
  • NativeUtil#appendToSystemClassLoaderSearch(String url)