Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8094215

[Ensemble8] Embedded mode is not detected on Dalvik ("arm" vs "arm7i")

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 8
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:

      Description

      On dalvik System.getProperty("os.arch") returns "armv7l" on my Galaxy S4 mini and is therefore not detected as an embedded platform.

      Changing this line in EnsembleApp
         public static final boolean IS_EMBEDDED = "arm".equals(OS_ARCH) && !IS_IOS;
      to
        public static final boolean IS_EMBEDDED = OS_ARCH.startsWith("arm") && !IS_IOS;

      and this line in PlatformFeatures
          private static final boolean ARM = arch.equals("arm");
      to
          private static final boolean ARM = arch.startsWith("arm");

      fixes the problem.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kselle Lisa Selle (Inactive)
              Reporter:
              sfuchsjfx Stefan Fuchs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: