wu-sheng commented on issue #2652: skywalking support ibm websphere(was ) j9vm 
URL: https://github.com/apache/skywalking/issues/2652#issuecomment-503553274
 
 
   For your plugin, could you see any log output by 
`SkyWalkingAgent#Transformer#transform()`?
   ```java
               ClassLoader classLoader, JavaModule module) {
               List<AbstractClassEnhancePluginDefine> pluginDefines = 
pluginFinder.find(typeDescription);
               if (pluginDefines.size() > 0) {
                   DynamicType.Builder<?> newBuilder = builder;
                   EnhanceContext context = new EnhanceContext();
                   for (AbstractClassEnhancePluginDefine define : 
pluginDefines) {
                       DynamicType.Builder<?> possibleNewBuilder = 
define.define(typeDescription, newBuilder, classLoader, context);
                       if (possibleNewBuilder != null) {
                           newBuilder = possibleNewBuilder;
                       }
                   }
                   if (context.isEnhanced()) {
                       logger.debug("Finish the prepare stage for {}.", 
typeDescription.getName());
                   }
   
                   return newBuilder;
               }
   
               logger.debug("Matched class {}, but ignore by finding 
mechanism.", typeDescription.getTypeName());
               return builder;
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to