openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject [openjpa] branch OPENJPA-2817_PCClassFileTransformer-exclusions updated: excluding asm too
Date Tue, 14 Jul 2020 18:25:08 GMT
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 <rmannibucau@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;
             }
         }


Mime
View raw message