Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4005CDEC7 for ; Wed, 20 Feb 2013 19:57:18 +0000 (UTC) Received: (qmail 87694 invoked by uid 500); 20 Feb 2013 19:57:16 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 87583 invoked by uid 500); 20 Feb 2013 19:57:16 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 87495 invoked by uid 99); 20 Feb 2013 19:57:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2013 19:57:16 +0000 Date: Wed, 20 Feb 2013 19:57:16 +0000 (UTC) From: "Romain Manni-Bucau (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (OPENJPA-2337) ClassFileTransformer modifies bytecode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Romain Manni-Bucau created OPENJPA-2337: ------------------------------------------- Summary: ClassFileTransformer modifies bytecode Key: OPENJPA-2337 URL: https://issues.apache.org/jira/browse/OPENJPA-2337 Project: OpenJPA Issue Type: Bug Components: Enhance Affects Versions: 2.2.1, 2.2.0 Reporter: Romain Manni-Bucau Priority: Blocker When using the JPA ClassFileTransformer from a javaagent the expected workflow is to simply convert in memory original class byte[] to an enhanced byte[]. However since the code is shared with ant task, mvn plugin and main() enhancer it also updates the file physically. That's a pain for load time weaving. Could it be skipped when using the ClassFileTransformer? sounds like a bug for me, wdyt? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira