Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-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 9E892176F7 for ; Tue, 30 Sep 2014 13:51:34 +0000 (UTC) Received: (qmail 4525 invoked by uid 500); 30 Sep 2014 13:51:34 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 4455 invoked by uid 500); 30 Sep 2014 13:51:34 -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 4309 invoked by uid 99); 30 Sep 2014 13:51:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2014 13:51:34 +0000 Date: Tue, 30 Sep 2014 13:51:34 +0000 (UTC) From: "Dirk Rudolph (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (FELIX-4658) URL of the CodeSource of a ProtectionDomain should resolve to the right JAR 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/FELIX-4658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14153170#comment-14153170 ] Dirk Rudolph edited comment on FELIX-4658 at 9/30/14 1:50 PM: -------------------------------------------------------------- Unfortunately this does not work. The implementation is still complaining about unknown protocol. (See logfile attached) I stopped the URLStreamHandlerService if have written for jcrinstall: was (Author: diru): Unfortunately this does not work. The implementation ist still complaining about unknown protocol. (See logfile attached) I stopped the URLStreamHandlerService if have written for jcrinstall: > URL of the CodeSource of a ProtectionDomain should resolve to the right JAR > --------------------------------------------------------------------------- > > Key: FELIX-4658 > URL: https://issues.apache.org/jira/browse/FELIX-4658 > Project: Felix > Issue Type: Improvement > Components: Framework > Affects Versions: framework-4.4.1 > Environment: OpenJDK, Oracle JRE > Reporter: Dirk Rudolph > Assignee: Karl Pauls > Attachments: codesource.patch, error-20140930-1544.log > > > The BundleProtectionDomain should support a CodeSource with a proper URLHandler that can be used to get a connection to the JAR file a class is loaded from. > Use Case: > In combination with JCE the JceSecurity implementation tries to open a URLConnection to the location of the CodeSource. This is necessary for JAR signature check used with strong encryption and for example bouncycastle as JCE provider. > For further details have a look at: > http://mail-archives.apache.org/mod_mbox/felix-users/201409.mbox/%3C29FBA46A464316449BF990BA4D74D578052FECF7D89E@HE113607.emea1.cds.t-internal.com%3E -- This message was sent by Atlassian JIRA (v6.3.4#6332)