diff options
author | Sven Gothel <[email protected]> | 2023-08-04 11:13:33 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-08-04 11:13:33 +0200 |
commit | 3ad38748d7ef50a3631506eabcd3ae3417faa84d (patch) | |
tree | fac3ea1f1ff1a68c90df0076088908e196908489 /src/junit/com/jogamp/common/nio/TestCachedBufferFactory.java | |
parent | 1250d960d8bf2ee9ab8726a18a837115d6930815 (diff) |
JavaCallbackEmitter.emitJavaKeyClass(): Use directBufferAddress for compound types in equals and hashCode, i.e. use memory identitypulled
Use case is having a compound-type as userParam, which also acts as key, see MessageCallback13, Test4JavaCallback.chapter13().
The Java compound instance is re-created using the actual identical native memory (address),
which has been stored or passed in the native toolkit.
Diffstat (limited to 'src/junit/com/jogamp/common/nio/TestCachedBufferFactory.java')
0 files changed, 0 insertions, 0 deletions