Class TrimJavaVersionAgent


  • public class TrimJavaVersionAgent
    extends java.lang.Object
    The presto 332 couldn't parse Java version like this `11.0.14.1`, so add java version trim agent to walk around the problem. After the presto upgrade to 332+, we could remove this.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void premain​(java.lang.String agentArgs, java.lang.instrument.Instrumentation inst)  
      static java.lang.String trimJavaVersion​(java.lang.String javaVersion)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TrimJavaVersionAgent

        public TrimJavaVersionAgent()
    • Method Detail

      • trimJavaVersion

        public static java.lang.String trimJavaVersion​(java.lang.String javaVersion)
      • premain

        public static void premain​(java.lang.String agentArgs,
                                   java.lang.instrument.Instrumentation inst)