Good evening. I've made PR https://github.com/openjdk/jdk/pull/26144 which is fix issue https://bugs.openjdk.org/browse/JDK-8360136
(I'm author of this issue too) Main idea - it's an add option to control pnum/tnum features. Added impl to JNI & Panama. I think in the future, need to rewrite code which is in C++ - and move features control to Java (it's not part of this PR, that's why I've not added it) - make native code more flexible. Thanks.