Return-Path: X-Original-To: apmail-tapestry-dev-archive@www.apache.org Delivered-To: apmail-tapestry-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 8EE30114E9 for ; Thu, 28 Aug 2014 09:33:58 +0000 (UTC) Received: (qmail 23425 invoked by uid 500); 28 Aug 2014 09:33:58 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 23378 invoked by uid 500); 28 Aug 2014 09:33:58 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 23368 invoked by uid 99); 28 Aug 2014 09:33:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2014 09:33:58 +0000 Date: Thu, 28 Aug 2014 09:33:58 +0000 (UTC) From: "Hudson (JIRA)" To: commits@tapestry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TAP5-2365) PlasticUtilsTests."Do not urlencode file paths" fails when using openjdk7 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/TAP5-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113598#comment-14113598 ] Hudson commented on TAP5-2365: ------------------------------ FAILURE: Integrated in tapestry-trunk-freestyle #1317 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/1317/]) TAP5-2365: use a classpath resource for the test instead of creating a temp file (jochen.kemnade: rev 85a7f9846939e64f0bbb483797a59eae240cdf8a) * plastic/src/test/groovy/org/apache/tapestry5/internal/plastic/PlasticUtilsTests.groovy * plastic/src/test/resources/webapp##01.test > PlasticUtilsTests."Do not urlencode file paths" fails when using openjdk7 > ------------------------------------------------------------------------- > > Key: TAP5-2365 > URL: https://issues.apache.org/jira/browse/TAP5-2365 > Project: Tapestry 5 > Issue Type: Bug > Components: plastic > Affects Versions: 5.4 > Reporter: Felix Scheffer > Assignee: Jochen Kemnade > Priority: Minor > Fix For: 5.4 > > > PlasticUtilsTests."Do not urlencode file paths" fails on Ubuntu 14.04 (using openjdk7): > {code} > java.lang.IllegalArgumentException: URI is not hierarchical > at java.io.File.(File.java:418) > at org.apache.tapestry5.internal.plastic.PlasticUtilsTests.Do not urlencode file paths(PlasticUtilsTests.groovy:28) > {code} > getClass().getClassLoader().getResource(".") returns > "jar:file:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/pulse-java.jar!/" which is obvisiouly not the expected result. > I am not sure but I think pulse-java.jar was not part of openjdk6 in ealier versions of Ubuntu. Removing pulse-java.jar solves the problem but I dont think that's a good solution. > I think there are two issues here: > a) There's something wrong with pulse-java.jar even though I have absolutely no clue what it is. > b) Calling getResource(".") looks like a hack to me. "." is not a real resource. > For more information on this issue: > - http://stackoverflow.com/questions/16317789/thread-currentthread-getcontextclassloader-getresource-has-different-re > - http://stackoverflow.com/questions/13901540/how-to-get-location-of-runnable-jar-file-when-run-from-gnome -- This message was sent by Atlassian JIRA (v6.2#6252)