Harmony
  1. Harmony
  2. HARMONY-2053

[classlib][port][luni] move port_user_timezone() from DRLVM to classlib

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib, DRLVM
    • Labels:
      None
    • Estimated Complexity:
      Moderate

      Description

      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

        Issue Links

          Activity

          Alexey Varlamov created issue -
          Alexei Zakharov made changes -
          Field Original Value New Value
          Summary [port] move port_user_timezone() from DRLVM to classlib [port][classlib][luni] move port_user_timezone() from DRLVM to classlib
          Alexey Varlamov made changes -
          Link This issue is part of HARMONY-3736 [ HARMONY-3736 ]
          Gregory Shimansky made changes -
          Summary [port][classlib][luni] move port_user_timezone() from DRLVM to classlib [classlib][port][luni] move port_user_timezone() from DRLVM to classlib

            People

            • Assignee:
              Unassigned
              Reporter:
              Alexey Varlamov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development