Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1167

Update default.properties to properly configure OSGi (and other) requirements for Java 10+

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      A user has reached out to us because they wanted to get IGB to work with Java 10 (scheduled for release some time next month), mainly because it provides hassle-free hidpi scaling support, which is something we've been wanting for some time now.

      Apparently, there are a number of changes which affects the way modules are loaded in Java 10, but the user has been able to work around most of them by adding the following flags:

      --add-exports java.xml/com.sun.org.apache.xml.internal.resolver.tools=ALL-UNNAMED --add-exports java.xml/com.sun.org.apache.xml.internal.resolver=ALL-UNNAMED --add-modules java.activation --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED

      Even after these flags have been added, there are still issues in loading OSGi modules, which the user thinks are related to OSGi versioning. He recommends that we update default.properties to properly configure OSGi (and other) requirements for Java 10.

      The details above were all presented by the user, but the main goal here is to make IGB run smoothly with Java 10.

      When testing the HiDPI scaling support, this issue will need to be tested on a HiDPI display as well as a non-HiDPI display to ensure that the scaling is displaying as it should on both.

        Attachments

          Issue Links

            Activity

            No work has yet been logged on this issue.

              People

              • Assignee:
                ann.loraine Ann Loraine
                Reporter:
                mason Mason Meyer (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: