Uploaded image for project: 'Sirona'
  1. Sirona
  2. SIRONA-55

sirona-javaagent should use a custom loader to check assignability of Class and not reuse runtime ones since it can imply LinkageErrors

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.3-incubating
    • Fix Version/s: 0.4-incubating
    • Labels:
      None

      Activity

      Hide
      hudson Hudson added a comment -

      SUCCESS: Integrated in sirona-1.8 #122 (See https://builds.apache.org/job/sirona-1.8/122/)
      SIRONA-55 using a TempClassLoader for getCommonSuperType (rmannibucau: rev 1714239)

      • agent/javaagent/src/main/java/org/apache/sirona/javaagent/SironaAgent.java
      • agent/javaagent/src/main/java/org/apache/sirona/javaagent/SironaTransformer.java
      • agent/javaagent/src/main/java/org/apache/sirona/javaagent/classloader
      • agent/javaagent/src/main/java/org/apache/sirona/javaagent/classloader/LoadFirstClassLoader.java
      • agent/javaagent/src/test/java/org/apache/sirona/javaagent/InJvmTransformerRunner.java
      • agent/javaagent/src/test/java/org/apache/test/sirona/javaagent/EnsureInstrumationDoesntFailTest.java
      • api/src/main/java/org/apache/sirona/util/ClassLoaders.java
      Show
      hudson Hudson added a comment - SUCCESS: Integrated in sirona-1.8 #122 (See https://builds.apache.org/job/sirona-1.8/122/ ) SIRONA-55 using a TempClassLoader for getCommonSuperType (rmannibucau: rev 1714239) agent/javaagent/src/main/java/org/apache/sirona/javaagent/SironaAgent.java agent/javaagent/src/main/java/org/apache/sirona/javaagent/SironaTransformer.java agent/javaagent/src/main/java/org/apache/sirona/javaagent/classloader agent/javaagent/src/main/java/org/apache/sirona/javaagent/classloader/LoadFirstClassLoader.java agent/javaagent/src/test/java/org/apache/sirona/javaagent/InJvmTransformerRunner.java agent/javaagent/src/test/java/org/apache/test/sirona/javaagent/EnsureInstrumationDoesntFailTest.java api/src/main/java/org/apache/sirona/util/ClassLoaders.java
      Hide
      hudson Hudson added a comment -

      SUCCESS: Integrated in sirona-1.7 #121 (See https://builds.apache.org/job/sirona-1.7/121/)
      SIRONA-55 using a TempClassLoader for getCommonSuperType (rmannibucau: rev 1714239)

      • agent/javaagent/src/main/java/org/apache/sirona/javaagent/SironaAgent.java
      • agent/javaagent/src/main/java/org/apache/sirona/javaagent/SironaTransformer.java
      • agent/javaagent/src/main/java/org/apache/sirona/javaagent/classloader
      • agent/javaagent/src/main/java/org/apache/sirona/javaagent/classloader/LoadFirstClassLoader.java
      • agent/javaagent/src/test/java/org/apache/sirona/javaagent/InJvmTransformerRunner.java
      • agent/javaagent/src/test/java/org/apache/test/sirona/javaagent/EnsureInstrumationDoesntFailTest.java
      • api/src/main/java/org/apache/sirona/util/ClassLoaders.java
      Show
      hudson Hudson added a comment - SUCCESS: Integrated in sirona-1.7 #121 (See https://builds.apache.org/job/sirona-1.7/121/ ) SIRONA-55 using a TempClassLoader for getCommonSuperType (rmannibucau: rev 1714239) agent/javaagent/src/main/java/org/apache/sirona/javaagent/SironaAgent.java agent/javaagent/src/main/java/org/apache/sirona/javaagent/SironaTransformer.java agent/javaagent/src/main/java/org/apache/sirona/javaagent/classloader agent/javaagent/src/main/java/org/apache/sirona/javaagent/classloader/LoadFirstClassLoader.java agent/javaagent/src/test/java/org/apache/sirona/javaagent/InJvmTransformerRunner.java agent/javaagent/src/test/java/org/apache/test/sirona/javaagent/EnsureInstrumationDoesntFailTest.java api/src/main/java/org/apache/sirona/util/ClassLoaders.java

        People

        • Assignee:
          romain.manni-bucau Romain Manni-Bucau
          Reporter:
          romain.manni-bucau Romain Manni-Bucau
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development