Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 64825 invoked from network); 10 Jun 2009 18:47:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jun 2009 18:47:26 -0000 Received: (qmail 68561 invoked by uid 500); 10 Jun 2009 18:47:37 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 68507 invoked by uid 500); 10 Jun 2009 18:47:37 -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 68497 invoked by uid 99); 10 Jun 2009 18:47:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 18:47:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 18:47:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9A5A0234C004 for ; Wed, 10 Jun 2009 11:47:07 -0700 (PDT) Message-ID: <401149310.1244659627620.JavaMail.jira@brutus> Date: Wed, 10 Jun 2009 11:47:07 -0700 (PDT) From: "Michael Dick (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Commented: (OPENJPA-651) Disable dangerous "fallback enhancement", make openjpa.RuntimeUnenhancedClasses=unsupported the default In-Reply-To: <1339039504.1215020984961.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718163#action_12718163 ] Michael Dick commented on OPENJPA-651: -------------------------------------- Pursuant to the vote [1] on the dev mailing list I'm planning on turning subclassing off by default in trunk. 1.3.x may follow shortly. [1] http://n2.nabble.com/-VOTE--Turn-off-enhancement-by-subclassing-as-the-default-tp1616140p1616140.html > Disable dangerous "fallback enhancement", make openjpa.RuntimeUnenhancedClasses=unsupported the default > ------------------------------------------------------------------------------------------------------- > > Key: OPENJPA-651 > URL: https://issues.apache.org/jira/browse/OPENJPA-651 > Project: OpenJPA > Issue Type: Improvement > Components: jpa, kernel, UnenhancedClasses > Affects Versions: 1.0.3, 1.1.0, 1.2.1, 2.0.0 > Reporter: Michael Vorburger > Assignee: Michael Dick > > As discussed on the email thread 'Disable dangerous "fallback enhancement" how?' on users@openjpa.apache.org (e.g. on http://markmail.org/message/5e2yfcp3w3vhmrob?q=Disable+dangerous+%22fallback+enhancement%22+how%3F+list:org%2Eapache%2Eopenjpa%2Eusers), I hereby suggest that by default, OpenJPA behaves as if openjpa.RuntimeUnenhancedClasses=unsupported was explicitly configured. > (Copy/paste) The fact that https://issues.apache.org/jira/browse/OPENJPA-293 is still an Open New Feature, with five open sub-tasks (so technically this development was never finished, yet it's automatically activated and shows up in the official doc) and in e.g. https://issues.apache.org/jira/browse/OPENJPA-444 (and may be others?) there are bug reports which are probably only due to this, may support my point of view? > Craig (Craig.Russell@...) appears to support this proposed Improvement (judging from his email lundi, 23. juin 2008 21:33 in same thread). > I'd love to see this in 1.1.1. May be due to backward compatibility you jugde it would be safer to put this in 1.2.0 only? - Or is too late and impossible to change this default now? Hope not! > PS: Workaround for 1.1.0 is openjpa.RuntimeUnenhancedClasses=unsupported (undocumented, see https://issues.apache.org/jira/browse/OPENJPA-650). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.