Releases: Karlatemp/UnsafeAccessor
Releases · Karlatemp/UnsafeAccessor
1.7.0
Changelog
- IMPORTANT: Fix security checking of
UnsafeAccess.getInstance
Affected version:
>= 1.4.0 & < 1.7.0
- Add
Root.MethodHandleLookup
for bytecodeinvokeDynamic
executing - Add
Unsafe.getOriginalUnsafe()
to getsun.misc.Unsafe
/jdk.internal.misc.Unsafe
- Preview api for control
--enable-native-access
(ModuleAccess.isEnableNativeAccess
) - Make
BytecodeUtil
public - Add
ModuleAccess.getUnnamedModule(ClassLoader)
- Try to use standard api to initialize UnsafeAccessor
Test Report
https://github.com/KasukuSakura/static-assets/blob/main/unsafe-accessor-release-test-report/1.7.0.md
1.6.2
Changelog
Fix JDK17 Platform
Test Report
Gradle Task | Time | Status |
---|---|---|
runTestUnit0 | PT0.49S | SUCCESSFUL |
runTestUnitAzul-15.0.2 | PT0.476S | SUCCESSFUL |
runTestUnitGraalvm-ce-java11-21.2.0 | PT1.328S | SUCCESSFUL |
runTestUnitGraalvm-ee-java16-21.2.0 | PT0.946S | SUCCESSFUL |
runTestUnitGraalvm-ee-java8-21.2.0 | PT0.408S | SUCCESSFUL |
runTestUnitJbr | PT1.3S | SUCCESSFUL |
runTestUnitJdk-11.0.12.7-openj9 | PT1.195S | SUCCESSFUL |
runTestUnitJdk-11.0.8-full | PT1.248S | SUCCESSFUL |
runTestUnitJdk-11.0.9 | PT1.232S | SUCCESSFUL |
runTestUnitJdk-12.0.2.10-hotspot | PT1.216S | SUCCESSFUL |
runTestUnitJdk-13.0.2 | PT1.23S | SUCCESSFUL |
runTestUnitJdk-14.0.2.12-hotspot | PT0.41S | SUCCESSFUL |
runTestUnitJdk-15 | PT0.426S | SUCCESSFUL |
runTestUnitJdk-16 | PT0.478S | SUCCESSFUL |
runTestUnitJdk-16.0.1 | PT0.425S | SUCCESSFUL |
runTestUnitJdk-16.0.1+9 | PT0.442S | SUCCESSFUL |
runTestUnitJdk-17 | PT0.462S | SUCCESSFUL |
runTestUnitJdk1.8.0_181 | PT0.208S | SUCCESSFUL |
runTestUnitJdk1.8.0_252 | PT0.224S | SUCCESSFUL |
runTestUnitSapmachine-15.0.2 | PT0.469S | SUCCESSFUL |
Task unit runTestUnit0
status: SUCCESSFUL
time: PT0.49S
Unit | Task | Time | Status |
---|---|---|---|
<System Environment> | PT0S | SUCCESSFUL | |
Output of <System Environment>Gradle Task Unit : runTestUnit0 Unsafe instance : io.github.karlatemp.unsafeaccessor.Impl9Obj@3abfe836 Unsafe instance class : class io.github.karlatemp.unsafeaccessor.Impl9Obj Runtime Spec Name : Java Virtual Machine Specification Runtime Spec Version : 16 Runtime Spec Vendor : Oracle Corporation Runtime Vm Name : Java HotSpot(TM) 64-Bit Server VM Runtime Vm Version : 16.0.1+9-24 Runtime Vm Vendor : Oracle Corporation Is Java 9 : true | |||
BinaryCompatibilityAnalysis | PT0.113S | SUCCESSFUL | |
BinaryCompatibilityAnalysis | run | PT0.103S | SUCCESSFUL |
runtest.ModuleAccessTest | PT0.198S | SUCCESSFUL | |
runtest.ModuleAccessTest | run | PT0.192S | SUCCESSFUL |
Output of runUN: module testMod ZPKG package io.kjg.ppkv.0032b472-9760-4c66-be2f-aae7d6d7732a | |||
runtest.ModuleAccessTest | test methods | PT0.004S | SUCCESSFUL |
runtest.RootMethodHandleLookupTest | PT0.002S | SUCCESSFUL | |
runtest.RootMethodHandleLookupTest | run | PT0.001S | SUCCESSFUL |
Output of runAccess: 127 Access: /trusted | |||
runtest.TestObjectInitializer | PT0.022S | SUCCESSFUL | |
runtest.TestObjectInitializer | run | PT0.021S | SUCCESSFUL |
runtest.TestUnsafe | PT0.015S | SUCCESSFUL | |
runtest.TestUnsafe | runTest | PT0.008S | SUCCESSFUL |
Output of runTestInvoking Unsafe Test Unit.... Testing Unsafe.get**, Unsafe.put** Testing Unsafe.allocateInstance Testing Unsafe Memory Access Checking Unsafe.throwException Testing Unsafe.ensureClassInitialized | |||
runtest.TestUnsafe | check set accessible | PT0.003S | SUCCESSFUL |
Output of check set accessibleChecking AccessibleObject.setAccessible false protected void java.net.URLClassLoader.addURL(java.net.URL) true | |||
runtest.TestUnsafe | check Unsafe.defineClass | PT0.001S | SUCCESSFUL |
Output of check Unsafe.defineClassChecking class defining AnonymousClass: class testSwe.AWZXaex/0x0000000800c23800 | |||
runtest.TestUnsafe | check Root.getTrusted() | PT0S | SUCCESSFUL |
Task unit runTestUnitAzul-15.0.2
status: SUCCESSFUL
time: PT0.476S
Unit | Task | Time | Status |
---|---|---|---|
<System Environment> | PT0S | SUCCESSFUL | |
Output of <System Environment>Gradle Task Unit : runTestUnitAzul-15.0.2 Unsafe instance : io.github.karlatemp.unsafeaccessor.Impl9Obj@2f410acf Unsafe instance class : class io.github.karlatemp.unsafeaccessor.Impl9Obj Runtime Spec Name : Java Virtual Machine Specification Runtime Spec Version : 15 Runtime Spec Vendor : Oracle Corporation Runtime Vm Name : OpenJDK 64-Bit Server VM Runtime Vm Version : 15.0.2+7 Runtime Vm Vendor : Azul Systems, Inc. Is Java 9 : true | |||
BinaryCompatibilityAnalysis | PT0.128S | SUCCESSFUL | |
BinaryCompatibilityAnalysis | run | PT0.117S | SUCCESSFUL |
runtest.ModuleAccessTest | PT0.174S | SUCCESSFUL | |
runtest.ModuleAccessTest | run | PT0.169S | SUCCESSFUL |
Output of runUN: module testMod ZPKG package io.kjg.ppkv.d572a057-339a-45a6-8a39-97492b2eabe7 | |||
runtest.ModuleAccessTest | test methods | PT0.003S | SUCCESSFUL |
runtest.RootMethodHandleLookupTest | PT0.001S | SUCCESSFUL | |
runtest.RootMethodHandleLookupTest | run | PT0S | SUCCESSFUL |
Output of runAccess: 63 Access: /trusted | |||
runtest.TestObjectInitializer | PT0.022S | SUCCESSFUL | |
runtest.TestObjectInitializer | run | PT0.021S | SUCCESSFUL |
runtest.TestUnsafe | PT0.01S | SUCCESSFUL | |
runtest.TestUnsafe | check Root.getTrusted() | PT0S | SUCCESSFUL |
runtest.TestUnsafe | check Unsafe.defineClass | PT0.002S | SUCCESSFUL |
Output of check Unsafe.defineClassChecking class defining AnonymousClass: class testSwe.AWZXaex/0x0000000800bd4040 | |||
runtest.TestUnsafe | runTest | PT0.003S | SUCCESSFUL |
Output of runTestInvoking Unsafe Test Unit.... Testing Unsafe.get**, Unsafe.put** Testing Unsafe.allocateInstance Testing Unsafe Memory Access Checking Unsafe.throwException Testing Unsafe.ensureClassInitialized | |||
runtest.TestUnsafe | check set accessible | PT0.003S | SUCCESSFUL |
Output of check set accessibleChecking AccessibleObject.setAccessible false protected void java.net.URLClassLoader.addURL(java.net.URL) true |
Task unit runTestUnitGraalvm-ce-java11-21.2.0
status: SUCCESSFUL
time: PT1.328S
Unit | Task | Time | Status |
---|---|---|---|
<System Environment> | PT0S | SUCCESSFUL | |
Output of <System Environment>Gradle Task Unit : runTestUnitGraalvm-ce-java11-21.2.0 Unsafe instance : io.github.karlatemp.unsafeaccessor.Impl9Obj@52d455b8 Unsafe instance class : class io.github.karlatemp.unsafeaccessor.Impl9Obj Runtime Spec Name : Java Virtual Machine Specification Runtime Spec Version : 11 Runtime Spec Vendor : Oracle Corporation Runtime Vm Name : OpenJDK 64-Bit Server VM Runtime Vm Version : 11.0.12+6-jvmci-21.2-b08 Runtime Vm Vendor : GraalVM Community Is Java 9 : true | |||
BinaryCompatibilityAnalysis | PT0.177S | SUCCESSFUL | |
BinaryCompatibilityAnalysis | run | PT0.152S | SUCCESSFUL |
runtest.ModuleAccessTest | PT0.95S | SUCCESSFUL | |
runtest.ModuleAccessTest | run | PT0.946S | SUCCESSFUL |
Output of runUN: module testMod ZPKG package io.kjg.ppkv.b2068e7c-8e7a-4060-8933-e852e3221a43 | |||
runtest.ModuleAccessTest | test methods | PT0.003S | SUCCESSFUL |
runtest.RootMethodHandleLookupTest... |
1.6.1
Changelog
- Support
Eclipse OpenJ9 VM - 11.0.12.7-openj9
- Fix
UnsafeAccess.getInstance().getModuleAccess()
returning null
Test Report
Gradle Task | Time | Status |
---|---|---|
runTestUnit0 | PT0.555S | SUCCESSFUL |
runTestUnitAzul-15.0.2 | PT0.551S | SUCCESSFUL |
runTestUnitGraalvm-ce-java11-21.2.0 | PT2.023S | SUCCESSFUL |
runTestUnitGraalvm-ee-java16-21.2.0 | PT0.662S | SUCCESSFUL |
runTestUnitGraalvm-ee-java8-21.2.0 | PT0.275S | SUCCESSFUL |
runTestUnitJbr | PT1.254S | SUCCESSFUL |
runTestUnitJdk-11.0.12.7-openj9 | PT1.196S | SUCCESSFUL |
runTestUnitJdk-11.0.8-full | PT1.282S | SUCCESSFUL |
runTestUnitJdk-11.0.9 | PT1.247S | SUCCESSFUL |
runTestUnitJdk-12.0.2.10-hotspot | PT1.324S | SUCCESSFUL |
runTestUnitJdk-13.0.2 | PT1.22S | SUCCESSFUL |
runTestUnitJdk-14.0.2.12-hotspot | PT0.405S | SUCCESSFUL |
runTestUnitJdk-15 | PT0.498S | SUCCESSFUL |
runTestUnitJdk-16 | PT0.438S | SUCCESSFUL |
runTestUnitJdk-16.0.1 | PT0.498S | SUCCESSFUL |
runTestUnitJdk-16.0.1+9 | PT0.456S | SUCCESSFUL |
runTestUnitJdk1.8.0_181 | PT0.217S | SUCCESSFUL |
runTestUnitJdk1.8.0_252 | PT0.203S | SUCCESSFUL |
runTestUnitSapmachine-15.0.2 | PT0.446S | SUCCESSFUL |
Task unit runTestUnit0
status: SUCCESSFUL
time: PT0.555S
Unit | Task | Time | Status |
---|---|---|---|
<System Environment> | PT0S | SUCCESSFUL | |
Output of <System Environment>Gradle Task Unit : runTestUnit0 Unsafe instance : io.github.karlatemp.unsafeaccessor.Impl9@6bc168e5 Unsafe instance class : class io.github.karlatemp.unsafeaccessor.Impl9 Runtime Spec Name : Java Virtual Machine Specification Runtime Spec Version : 14 Runtime Spec Vendor : Oracle Corporation Runtime Vm Name : OpenJDK 64-Bit Server VM Runtime Vm Version : 14.0.2+12 Runtime Vm Vendor : AdoptOpenJDK Is Java 9 : true | |||
BinaryCompatibilityAnalysis | PT0.128S | SUCCESSFUL | |
BinaryCompatibilityAnalysis | run | PT0.119S | SUCCESSFUL |
runtest.ModuleAccessTest | PT0.254S | SUCCESSFUL | |
runtest.ModuleAccessTest | run | PT0.25S | SUCCESSFUL |
Output of runUN: module testMod ZPKG package io.kjg.ppkv.50093669-341b-4b7c-a67b-012238ca6ffe | |||
runtest.ModuleAccessTest | test methods | PT0.003S | SUCCESSFUL |
runtest.RootMethodHandleLookupTest | PT0.004S | SUCCESSFUL | |
runtest.RootMethodHandleLookupTest | run | PT0.001S | SUCCESSFUL |
Output of runAccess: 63 Access: /trusted | |||
runtest.TestObjectInitializer | PT0.027S | SUCCESSFUL | |
runtest.TestObjectInitializer | run | PT0.025S | SUCCESSFUL |
runtest.TestUnsafe | PT0.017S | SUCCESSFUL | |
runtest.TestUnsafe | check Root.getTrusted() | PT0S | SUCCESSFUL |
runtest.TestUnsafe | check Unsafe.defineClass | PT0.004S | SUCCESSFUL |
Output of check Unsafe.defineClassChecking class defining AnonymousClass: class testSwe.AWZXaex/0x0000000800bb9840 | |||
runtest.TestUnsafe | runTest | PT0.004S | SUCCESSFUL |
Output of runTestInvoking Unsafe Test Unit.... Testing Unsafe.get**, Unsafe.put** Testing Unsafe.allocateInstance Testing Unsafe Memory Access Checking Unsafe.throwException Testing Unsafe.ensureClassInitialized | |||
runtest.TestUnsafe | check set accessible | PT0.006S | SUCCESSFUL |
Output of check set accessibleChecking AccessibleObject.setAccessible false protected void java.net.URLClassLoader.addURL(java.net.URL) true |
Task unit runTestUnitAzul-15.0.2
status: SUCCESSFUL
time: PT0.551S
Unit | Task | Time | Status |
---|---|---|---|
<System Environment> | PT0S | SUCCESSFUL | |
Output of <System Environment>Gradle Task Unit : runTestUnitAzul-15.0.2 Unsafe instance : io.github.karlatemp.unsafeaccessor.Impl9@136432db Unsafe instance class : class io.github.karlatemp.unsafeaccessor.Impl9 Runtime Spec Name : Java Virtual Machine Specification Runtime Spec Version : 15 Runtime Spec Vendor : Oracle Corporation Runtime Vm Name : OpenJDK 64-Bit Server VM Runtime Vm Version : 15.0.2+7 Runtime Vm Vendor : Azul Systems, Inc. Is Java 9 : true | |||
BinaryCompatibilityAnalysis | PT0.173S | SUCCESSFUL | |
BinaryCompatibilityAnalysis | run | PT0.162S | SUCCESSFUL |
runtest.ModuleAccessTest | PT0.193S | SUCCESSFUL | |
runtest.ModuleAccessTest | run | PT0.19S | SUCCESSFUL |
Output of runUN: module testMod ZPKG package io.kjg.ppkv.a1b70269-7148-41fd-ac94-31ece9f63e44 | |||
runtest.ModuleAccessTest | test methods | PT0.002S | SUCCESSFUL |
runtest.RootMethodHandleLookupTest | PT0.002S | SUCCESSFUL | |
runtest.RootMethodHandleLookupTest | run | PT0.001S | SUCCESSFUL |
Output of runAccess: 63 Access: /trusted | |||
runtest.TestObjectInitializer | PT0.026S | SUCCESSFUL | |
runtest.TestObjectInitializer | run | PT0.024S | SUCCESSFUL |
runtest.TestUnsafe | PT0.012S | SUCCESSFUL | |
runtest.TestUnsafe | check Root.getTrusted() | PT0S | SUCCESSFUL |
runtest.TestUnsafe | runTest | PT0.006S | SUCCESSFUL |
Output of runTestInvoking Unsafe Test Unit.... Testing Unsafe.get**, Unsafe.put** Testing Unsafe.allocateInstance Testing Unsafe Memory Access Checking Unsafe.throwException Testing Unsafe.ensureClassInitialized | |||
runtest.TestUnsafe | check set accessible | PT0.003S | SUCCESSFUL |
Output of check set accessibleChecking AccessibleObject.setAccessible false protected void java.net.URLClassLoader.addURL(java.net.URL) true | |||
runtest.TestUnsafe | check Unsafe.defineClass | PT0S | SUCCESSFUL |
Output of check Unsafe.defineClassChecking class defining AnonymousClass: class testSwe.AWZXaex/0x0000000800bd2840 |
Task unit runTestUnitGraalvm-ce-java11-21.2.0
status: SUCCESSFUL
time: PT2.023S
Unit | Task | Time | Status |
---|---|---|---|
<System Environment> | PT0S | SUCCESSFUL | |
Output of <System Environment>Gradle Task Unit : runTestUnitGraalvm-ce-java11-21.2.0 Unsafe instance : io.github.karlatemp.unsafeaccessor.Impl9Obj@5f5a92bb Unsafe instance class : class io.github.karlatemp.unsafeaccessor.Impl9Obj Runtime Spec Name : Java Virtual Machine Specification Runtime Spec Version : 11 Runtime Spec Vendor : Oracle Corporation Runtime Vm Name : OpenJDK 64-Bit Server VM Runtime Vm Version : 11.0.12+6-jvmci-21.2-b08 Runtime Vm Vendor : GraalVM Community Is Java 9 : true | |||
BinaryCompatibilityAnalysis | PT0.383S | SUCCESSFUL | |
BinaryCompatibilityAnalysis | run | PT0.297S | SUCCESSFUL |
runtest.ModuleAccessTest | PT1.343S | SUCCESSFUL | |
runtest.ModuleAccessTest | run | PT1.297S | SUCCESSFUL |
Output of runUN: module testMod ZPKG package io.kjg.ppkv.e4df0457-b126-4151-a073-f7baf0615292 | |||
runtest.ModuleAccessTest | test methods | PT0.044S | SUCCESSFUL |
runtest.RootMethodHandleLookupTes... |
1.6.0
- Add
ModuleAccess.getEVERYONE_MODULE & getALL_UNNAMED_MODULE
- Update
SecurityCheck
logic forJDK 17 SecurityManager deprecated
Test Results
Gradle task: runTestUnit0
<Unsafe Accessor Testing Unit> PT0.402S SUCCESSFUL
<System Environment> PT0S SUCCESSFUL
Gradle Task Unit : runTestUnit0
Unsafe instance : io.github.karlatemp.unsafeaccessor.Impl9@7a7b0070
Unsafe instance class : class io.github.karlatemp.unsafeaccessor.Impl9
Runtime Spec Name : Java Virtual Machine Specification
Runtime Spec Version : 14
Runtime Spec Vendor : Oracle Corporation
Runtime Vm Name : OpenJDK 64-Bit Server VM
Runtime Vm Version : 14.0.2+12
Runtime Vm Vendor : AdoptOpenJDK
Is Java 9 : true
io.github.karlatemp.unsafeaccessor.BinaryCompatibilityAnalysis PT0.134S SUCCESSFUL
run PT0.124S SUCCESSFUL
runtest.ModuleAccessTest PT0.119S SUCCESSFUL
run PT0.115S SUCCESSFUL
test methods PT0.003S SUCCESSFUL
runtest.RootMethodHandleLookupTest PT0.002S SUCCESSFUL
run PT0S SUCCESSFUL
runtest.TestObjectInitializer PT0.035S SUCCESSFUL
run PT0.033S SUCCESSFUL
runtest.TestUnsafe PT0.014S SUCCESSFUL
check Root.getTrusted() PT0.001S SUCCESSFUL
check set accessible PT0.006S SUCCESSFUL
check Unsafe.defineClass PT0.003S SUCCESSFUL
runTest PT0.002S SUCCESSFUL
===============================================
Gradle task: runTestUnitAzul-15.0.2
<Unsafe Accessor Testing Unit> PT0.408S SUCCESSFUL
<System Environment> PT0S SUCCESSFUL
Gradle Task Unit : runTestUnitAzul-15.0.2
Unsafe instance : io.github.karlatemp.unsafeaccessor.Impl9@6ed3ef1
Unsafe instance class : class io.github.karlatemp.unsafeaccessor.Impl9
Runtime Spec Name : Java Virtual Machine Specification
Runtime Spec Version : 15
Runtime Spec Vendor : Oracle Corporation
Runtime Vm Name : OpenJDK 64-Bit Server VM
Runtime Vm Version : 15.0.2+7
Runtime Vm Vendor : Azul Systems, Inc.
Is Java 9 : true
io.github.karlatemp.unsafeaccessor.BinaryCompatibilityAnalysis PT0.136S SUCCESSFUL
run PT0.128S SUCCESSFUL
runtest.ModuleAccessTest PT0.131S SUCCESSFUL
run PT0.127S SUCCESSFUL
test methods PT0.002S SUCCESSFUL
runtest.RootMethodHandleLookupTest PT0.002S SUCCESSFUL
run PT0.001S SUCCESSFUL
runtest.TestObjectInitializer PT0.022S SUCCESSFUL
run PT0.021S SUCCESSFUL
runtest.TestUnsafe PT0.017S SUCCESSFUL
check Root.getTrusted() PT0S SUCCESSFUL
runTest PT0.006S SUCCESSFUL
check set accessible PT0.004S SUCCESSFUL
check Unsafe.defineClass PT0.001S SUCCESSFUL
===============================================
Gradle task: runTestUnitJbr
<Unsafe Accessor Testing Unit> PT0.982S SUCCESSFUL
<System Environment> PT0S SUCCESSFUL
Gradle Task Unit : runTestUnitJbr
Unsafe instance : io.github.karlatemp.unsafeaccessor.Impl9Obj@3108bc
Unsafe instance class : class io.github.karlatemp.unsafeaccessor.Impl9Obj
Runtime Spec Name : Java Virtual Machine Specification
Runtime Spec Version : 11
Runtime Spec Vendor : Oracle Corporation
Runtime Vm Name : Dynamic Code Evolution 64-Bit Server VM
Runtime Vm Version : 11.0.11+9-b1341.57
Runtime Vm Vendor : JetBrains s.r.o.
Is Java 9 : true
io.github.karlatemp.unsafeaccessor.BinaryCompatibilityAnalysis PT0.16S SUCCESSFUL
run PT0.141S SUCCESSFUL
runtest.ModuleAccessTest PT0.655S SUCCESSFUL
run PT0.649S SUCCESSFUL
test methods PT0.004S SUCCESSFUL
runtest.RootMethodHandleLookupTest PT0.002S SUCCESSFUL
run PT0.001S SUCCESSFUL
runtest.TestObjectInitializer PT0.022S SUCCESSFUL
run PT0.022S SUCCESSFUL
runtest.TestUnsafe PT0.008S SUCCESSFUL
check Root.getTrusted() PT0S SUCCESSFUL
runTest PT0.006S SUCCESSFUL
check set accessible PT0S SUCCESSFUL
check Unsafe.defineClass PT0S SUCCESSFUL
===============================================
Gradle task: runTestUnitJdk-11.0.8-full
<Unsafe Accessor Testing Unit> PT0.918S SUCCESSFUL
<System Environment> PT0S SUCCESSFUL
Gradle Task Unit : runTestUnitJdk-11.0.8-full
Unsafe instance : io.github.karlatemp.unsafeaccessor.Impl9Obj@4b4523f8
Unsafe instance class : class io.github.karlatemp.unsafeaccessor.Impl9Obj
Runtime Spec Name : Java Virtual Machine Specification
Runtime Spec Version : 11
Runtime Spec Vendor : Oracle Corporation
Runtime Vm Name : OpenJDK 64-Bit Server VM
Runtime Vm Version : 11.0.8+10-LTS
Runtime Vm Vendor : BellSoft
Is Java 9 : true
io.github.karlatemp.unsafeaccessor.BinaryCompatibilityAnalysis PT0.14S SUCCESSFUL
run PT0.128S SUCCESSFUL
runtest.ModuleAccessTest PT0.618S SUCCESSFUL
run PT0.613S SUCCESSFUL
test methods PT0.004S SUCCESSFUL
runtest.RootMethodHandleLookupTest PT0.002S SUCCESSFUL
run PT0.001S SUCCESSFUL
runtest.TestObjectInitializer PT0.023S SUCCESSFUL
run PT0.022S SUCCESSFUL
runtest.TestUnsafe PT0.007S SUCCESSFUL
check Root.getTrusted() PT0.001S SUCCESSFUL
check Unsafe.defineClass PT0.002S SUCCESSFUL
runTest PT0.003S SUCCESSFUL
check set accessible PT0S SUCCESSFUL
===============================================
Gradle task: runTestUnitJdk-11.0.9
<Unsafe Accessor Testing Unit> PT0.904S SUCCESSFUL
<System Environment> PT0S SUCCESSFUL
Gradle Task Unit : runTestUnitJdk-11.0.9
Unsafe instance : io.github.karlatemp.unsafeaccessor.Impl9Obj@210366b4
Unsafe instance class : class io.github.karlatemp.unsafeaccessor.Impl9Obj
Runtime Spec Name : Java Virtual Machine Specification
Runtime Spec Version : 11
Runtime Spec Vendor : Oracle Corporation
Runtime Vm Name : Java HotSpot(TM) 64-Bit Server VM
Runtime Vm Version : 11.0.9+7-LTS
Runtime Vm Vendor : Oracle Corporation
Is Java 9 : true
io.github.karlatemp.unsafeaccessor.BinaryCompatibilityAnalysis PT0.123S SUCCESSFUL
run PT0.115S SUCCESSFUL
runtest.ModuleAccessTest PT0.624S SUCCESSFUL
run PT0.619S SUCCESSFUL
test methods PT0.003S SUCCESSFUL
runtest.RootMethodHandleLookupTest PT0.003S SUCCESSFUL
...