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

[Monocle] correct i.MX6 detection

    XMLWordPrintable

    Details

      Description

      Lisa noticed we are failing on Ubuntu style distros because of a space in the file name.

      diff -r 3f215eaf1c23 modules/graphics/src/main/java/com/sun/glass/ui/monocle/MX6PlatformFactory.java
      --- a/modules/graphics/src/main/java/com/sun/glass/ui/monocle/MX6PlatformFactory.java
      +++ b/modules/graphics/src/main/java/com/sun/glass/ui/monocle/MX6PlatformFactory.java Thu Aug 21 19:40:44 2014 -0400
      @@ -33,7 +33,7 @@
           protected boolean matches() {
               boolean retval =
                   new File("/sys/devices/platform/mxc_sdc_fb.0").exists() ||
      - new File("/sys/bus/platform/drivers/mxc_sdc_fb ").exists();
      + new File("/sys/bus/platform/drivers/mxc_sdc_fb").exists();
               return retval;
           }

        Attachments

          Activity

            People

            Assignee:
            ddhill David Hill (Inactive)
            Reporter:
            ddhill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: