Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 50808 invoked from network); 2 Dec 2009 14:22:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Dec 2009 14:22:50 -0000 Received: (qmail 98743 invoked by uid 500); 2 Dec 2009 14:22:50 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 98658 invoked by uid 500); 2 Dec 2009 14:22:49 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 98648 invoked by uid 99); 2 Dec 2009 14:22:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 14:22:49 +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, 02 Dec 2009 14:22:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 110AD234C48D for ; Wed, 2 Dec 2009 06:22:21 -0800 (PST) Message-ID: <1319605439.1259763741068.JavaMail.jira@brutus> Date: Wed, 2 Dec 2009 14:22:21 +0000 (UTC) From: "Richard S. Hall (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-1909) Apache Felix on JDK7 In-Reply-To: <1484319083.1259656882255.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/FELIX-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784844#action_12784844 ] Richard S. Hall commented on FELIX-1909: ---------------------------------------- I don't know why the packages would be required on Java 7 and not Java 6. You add a version the same way as for imports, it is the same syntax.: foo; bar; version=1.0.0 > Apache Felix on JDK7 > --------------------- > > Key: FELIX-1909 > URL: https://issues.apache.org/jira/browse/FELIX-1909 > Project: Felix > Issue Type: Bug > Components: Main > Affects Versions: felix-2.0.2 > Environment: Ubuntu Linux 9.04 64-bit > java version "1.7.0-ea" > Java(TM) SE Runtime Environment (build 1.7.0-ea-b76) > Java HotSpot(TM) 64-Bit Server VM (build 17.0-b05, mixed mode) > Reporter: Bulat Nigmatullin > Priority: Minor > > I tried to start our OSGi application on JDK7, but got a lot of errors like this > Unresolved constraint in bundle javax.mail.mail [20]: package; (package=javax.activation) > I've modified Apache Felix config.properties: > org.osgi.framework.system.packages.extra= \ > javax.activation; \ > javax.crypto; \ > javax.crypto.interfaces; \ > javax.crypto.spec; \ > javax.management; \ > javax.naming; \ > javax.naming.directory; \ > javax.naming.spi; \ > javax.net; \ > javax.net.ssl; \ > javax.security.auth; \ > javax.security.auth.callback; \ > javax.security.auth.x500; \ > javax.security.cert; \ > javax.security.sasl; \ > javax.sql; \ > javax.swing; \ > javax.swing.border; \ > javax.swing.event; \ > javax.swing.plaf; \ > javax.swing.plaf.basic; \ > javax.swing.table; \ > javax.swing.text; \ > javax.swing.tree; \ > javax.xml.namespace; \ > javax.xml.parsers; \ > javax.xml.stream; \ > javax.xml.transform; \ > javax.xml.transform.dom; \ > javax.xml.transform.stream; \ > org.ietf.jgss; \ > org.xml.sax; \ > org.xml.sax.helpers; \ > org.w3c.dom; > But one error remained: > org.osgi.framework.BundleException: Unresolved constraint in bundle com.springsource.org.dom4j [18]: package; (&(package=javax.xml.stream)(version>=1.0.1)(!(version>=2.0.0))) > My application work on JDK6 without all that extra packages. But now Felix requires them. Is this behaviour correct? > How to fix this javax.xml.stream import? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.