Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-2053

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Classlib, DRLVM
    • None
    • 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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              varlax Alexey Varlamov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: