Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4572D9839 for ; Tue, 3 Jul 2012 23:24:35 +0000 (UTC) Received: (qmail 55063 invoked by uid 500); 3 Jul 2012 23:24:35 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 55040 invoked by uid 500); 3 Jul 2012 23:24:35 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 55029 invoked by uid 99); 3 Jul 2012 23:24:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2012 23:24:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id BCDA2142850 for ; Tue, 3 Jul 2012 23:24:34 +0000 (UTC) Date: Tue, 3 Jul 2012 23:24:33 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1859486644.1201.1341357874775.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1687435162.33.1341286802180.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (CB-1000) Namespace issue of JSONKit and other external libraries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406162#comment-13406162 ] Shazron Abdullah commented on CB-1000: -------------------------------------- Ideally yes, but this is less critical I suppose - the runtime behaviour is undefined, which is a bad thing when two libs add a method with the same name in a class category - you don't know which method is being called (thus buggy behaviour is harder to trace). This won't be a problem (generally) if the categories were from the same lib (which you would expect to have the same behaviour). We would have to be really complete and reliable, and prefix all category methods here (NSData+Base64 and JSONKit). I'm on vacation this week, but I can tackle this next week. Since this will be a breaking API change (some plugins do use the Cordova JSONKit), it will definitely go in 2.0 not 1.9.1 (if we ever decide to do 1.9.1) > Namespace issue of JSONKit and other external libraries > ------------------------------------------------------- > > Key: CB-1000 > URL: https://issues.apache.org/jira/browse/CB-1000 > Project: Apache Cordova > Issue Type: Bug > Affects Versions: 1.9.0 > Environment: iOS > Reporter: LOU Yu Hong > Fix For: 2.0.0 > > Original Estimate: 48h > Remaining Estimate: 48h > > jk_collectionClassLoadTimeInitialization should also be prefixed > Other external libraries such as NSData+Base64 can cause duplicating symbols as well -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira