Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 32443 invoked from network); 4 Oct 2006 22:28:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2006 22:28:35 -0000 Received: (qmail 4725 invoked by uid 500); 4 Oct 2006 22:28:35 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 4616 invoked by uid 500); 4 Oct 2006 22:28:35 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 4605 invoked by uid 99); 4 Oct 2006 22:28:35 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2006 15:28:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:56567] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 1E/C5-20288-29534254 for ; Wed, 04 Oct 2006 15:28:34 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4F0377142D7 for ; Wed, 4 Oct 2006 15:28:23 -0700 (PDT) Message-ID: <7586573.1160000903321.JavaMail.root@brutus> Date: Wed, 4 Oct 2006 15:28:23 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Closed: (HARMONY-792) [classlib][kernel] it will nice if java.lang.Package class will implement all methods In-Reply-To: <25008143.1152248129789.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-792?page=all ] Geir Magnusson Jr closed HARMONY-792. ------------------------------------- > [classlib][kernel] it will nice if java.lang.Package class will implement all methods > ------------------------------------------------------------------------------------- > > Key: HARMONY-792 > URL: http://issues.apache.org/jira/browse/HARMONY-792 > Project: Harmony > Issue Type: Improvement > Components: Classlib > Reporter: Vladimir Ivanov > Assigned To: Geir Magnusson Jr > Priority: Trivial > > The Harmony java.lang.Package class returns 'null' values for some methods. Note, the implementation of this class is vm-dependent so should be implemented as part of vm. > ===================== test.java ========================= > public class test { > public static void main (String[] args) { > Package pac = Package.getPackage("java.lang"); > System.out.println("getImplementationVersion = " + pac.getImplementationVersion()); > System.out.println("getImplementationVendor = " + pac.getImplementationVendor()); > System.out.println("getSpecificationVersion = " + pac.getSpecificationVersion()); > } > } > ===================================================== > Output: > C:\tmp\tmp17>C:\jdk1.5.0_06\bin\java.exe -showversion test > java version "1.5.0_06" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) > Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode) > getImplementationVersion=1.5.0_06 > getImplementationVendor=Sun Microsystems, Inc. > getSpecificationVersion=1.5 > C:\tmp\tmp17>C:\harmony\trunk_0427\deploy\jdk\jre\bin\java.exe -showversion test > java version 1.5 (subset) > (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable. > getImplementationVersion=null > getImplementationVendor=null > getSpecificationVersion=null > C:\tmp\tmp17>C:\harmony\drlvm\trunk\build\win_ia32_msvc_release\deploy\jre\bin\ij -showversion test > Apache Harmony DRLVM HEAD-4807 (2006-05-02), Windows/ia32/msvc 1310, release > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira