Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 91241 invoked from network); 24 Feb 2009 04:04:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2009 04:04:23 -0000 Received: (qmail 5340 invoked by uid 500); 24 Feb 2009 04:04:22 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 5318 invoked by uid 500); 24 Feb 2009 04:04:22 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 5309 invoked by uid 99); 24 Feb 2009 04:04:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 20:04:22 -0800 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; Tue, 24 Feb 2009 04:04:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D72A9234C48D for ; Mon, 23 Feb 2009 20:04:01 -0800 (PST) Message-ID: <521772240.1235448241880.JavaMail.jira@brutus> Date: Mon, 23 Feb 2009 20:04:01 -0800 (PST) From: "Nathan Beyer (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-6099) [eut][classlib][net] Non-bug difference with RI: Handler field in java.net.URL? In-Reply-To: <201796540.1235374021869.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676174#action_12676174 ] Nathan Beyer commented on HARMONY-6099: --------------------------------------- Do you know where in the code this is? Is it just in the test code or in the runtime? I'd say go ahead and log a bug with eclipse and see what they say. > [eut][classlib][net] Non-bug difference with RI: Handler field in java.net.URL? > ------------------------------------------------------------------------------- > > Key: HARMONY-6099 > URL: https://issues.apache.org/jira/browse/HARMONY-6099 > Project: Harmony > Issue Type: Improvement > Components: build - test - ci > Environment: win32 > Reporter: Chunrong Lai > > Harmony throws exception for the test case extracted from EUT, while I do not think Harmony has problem (I did not see "handler" field is required). So should it be a bug of EUT? Anyway it reduces the pass rate of Harmony for OSGI test of EUT. > > import java.lang.reflect.Field; > import java.net.*; > public class TestURLHandler { > public static void main(String[] args) { > try { > Field handlerField = URL.class.getDeclaredField("handler"); > handlerField.setAccessible(true); > System.out.println("OK"); > } catch (Exception e) { > e.printStackTrace(); > } > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.