You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by rm...@apache.org on 2020/07/14 18:25:08 UTC

[openjpa] branch OPENJPA-2817_PCClassFileTransformer-exclusions updated: excluding asm too

This is an automated email from the ASF dual-hosted git repository.

rmannibucau pushed a commit to branch OPENJPA-2817_PCClassFileTransformer-exclusions
in repository https://gitbox.apache.org/repos/asf/openjpa.git


The following commit(s) were added to refs/heads/OPENJPA-2817_PCClassFileTransformer-exclusions by this push:
     new 96b2b12  excluding asm too
96b2b12 is described below

commit 96b2b128c180089d6999288ade928e6e183ce5da
Author: Romain Manni-Bucau <rm...@gmail.com>
AuthorDate: Tue Jul 14 20:25:00 2020 +0200

    excluding asm too
---
 .../main/java/org/apache/openjpa/enhance/PCClassFileTransformer.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCClassFileTransformer.java b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCClassFileTransformer.java
index 63b4d2e..45d8838 100644
--- a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCClassFileTransformer.java
+++ b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCClassFileTransformer.java
@@ -144,7 +144,8 @@ public class PCClassFileTransformer
         if (className.startsWith("org/apache/")) {
             final String sub = className.substring("org/apache/".length());
             if (sub.startsWith("openjpa/") ||
-                    sub.startsWith("commons/")) {
+                    sub.startsWith("commons/") ||
+                    sub.startsWith("xbean/")) {
                 return true;
             }
         }