Java plain enabler does not provide metadata about z/OS #1927
Labels
enhancement
New feature or request
extender
this issue has been raised by an extender
Priority: High
technical excellence
All services using Java plain enabler got his message:
It means adding metadata about the operating system is out of order. This is not a requirement, just it is good to collect those values.
The reason is class
DefaultCustomMetadataHelper
usescom.ibm.jzos.ZUtil
to fetch data. ClassZUtil
has no constructor and all methods are static (see https://www.ibm.com/docs/api/v1/content/SSYKE2_7.0.0/com.ibm.java.zsecurity.api.70.doc/com.ibm.jzos/com/ibm/jzos/ZUtil.html).api-layer/common-service-core/src/main/java/org/zowe/apiml/util/ClassOrDefaultProxyUtils.java
Line 68 in 6ad9306
In this particular case will be probably the best solution to create new method like:
Anyway, this will have probably a consequence and it will be also good to check that mapping in this case (
implementationClass instanceof java.lang.Class
) works only with static methods (disable finding an instance method in this case).The text was updated successfully, but these errors were encountered: