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

            Hide
            ann.loraine Ann Loraine added a comment - - edited

            For the next steps, investigate:

            Can IGB build and run under the latest release of Java? Investigate and document any problems. We will take a look and develop a plan after that.

            Links:

            Show
            ann.loraine Ann Loraine added a comment - - edited For the next steps, investigate: Can IGB build and run under the latest release of Java? Investigate and document any problems. We will take a look and develop a plan after that. Links: According to this March 2019 article ( https://www.techrepublic.com/article/the-best-new-features-in-the-java-programming-language-reasons-to-upgrade-from-java-8/ ), most people are still using Java 8. The article describes "best new features" introduced in Java 9, 10, 11, 12.
            Hide
            ann.loraine Ann Loraine added a comment -

            Closing but connecting to upgrading IGB to build under Java 12.

            Show
            ann.loraine Ann Loraine added a comment - Closing but connecting to upgrading IGB to build under Java 12.

              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: