From commits-return-59499-apmail-harmony-commits-archive=harmony.apache.org@harmony.apache.org Tue Jul 21 04:28:32 2009 Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 32584 invoked from network); 21 Jul 2009 04:28:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jul 2009 04:28:32 -0000 Received: (qmail 52577 invoked by uid 500); 21 Jul 2009 04:29:37 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 52505 invoked by uid 500); 21 Jul 2009 04:29:37 -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 52496 invoked by uid 99); 21 Jul 2009 04:29:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 04:29:37 +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; Tue, 21 Jul 2009 04:29:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 00DF9234C044 for ; Mon, 20 Jul 2009 21:29:15 -0700 (PDT) Message-ID: <1319892350.1248150554989.JavaMail.jira@brutus> Date: Mon, 20 Jul 2009 21:29:14 -0700 (PDT) From: "Alexey Varlamov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-2053) [classlib][port][luni] move port_user_timezone() from DRLVM to classlib 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/HARMONY-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733471#action_12733471 ] Alexey Varlamov commented on HARMONY-2053: ------------------------------------------ Hi Deven, Basically there is no APR specifics, it is just used for manipulating strings and for reading files & directories. Only general knowledge of Linux C programming is required, you can look into APR documentation and sources to find Linux native replacements for APR functions. The business logic is documented inside port_user_timezone() code quite in detail. If you have more specific questions, feel free to ask. > [classlib][port][luni] move port_user_timezone() from DRLVM to classlib > ------------------------------------------------------------------------ > > Key: HARMONY-2053 > URL: https://issues.apache.org/jira/browse/HARMONY-2053 > Project: Harmony > Issue Type: Task > Components: Classlib, DRLVM > Reporter: Alexey Varlamov > Priority: Minor > > Classlib's j.u.TimeZone expects "user.timezone" property value initialized during VM startup (BTW I did not find explicit statement in VMI docs for that, only indirect reference in kernel stub for j.l.System). I believe this action should be done by hyluni natives during JNI_OnLoad, no reason to burden VM with it. Therefore I suggest to move "port_user_timezone()" function [1] from DRLVM to classlib (luni/port), and fix DRLVM & hyluni accordingly. > [1] working_vm\vm\port\src\misc\[win|linux]\timezone.c -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.