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

            mason Mason Meyer (Inactive) created issue -
            mason Mason Meyer (Inactive) made changes -
            Field Original Value New Value
            Link This issue relates to HELP-272 [ HELP-272 ]
            mason Mason Meyer (Inactive) made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Spring 2017 [ 47 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            mason Mason Meyer (Inactive) made changes -
            Sprint Early Fall 2017 [ 47 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ivory Clabaugh [ ieclabau ]
            ann.loraine Ann Loraine made changes -
            Sprint Early Fall 2017 [ 47 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ieclabau Ivory Blakley (Inactive) made changes -
            Fix Version/s 9.0.1 Minor Release [ 10500 ]
            ann.loraine Ann Loraine made changes -
            Assignee Kiran Korey [ kkorey ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint B - Summer 2018 [ 48 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked lower
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            kkorey Kiran Korey (Inactive) made changes -
            Summary Update default.properties to properly configure OSGi (and other) requirements for Java 9 Update default.properties to properly configure OSGi (and other) requirements for Java 10
            Description A user has reached out to us because they wanted to get IGB to work with Java 9 (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 9, 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 9.

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

            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.
            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.
            kkorey Kiran Korey (Inactive) made changes -
            Status Open [ 1 ] Open [ 1 ]
            ann.loraine Ann Loraine made changes -
            Assignee Kiran Korey [ kkorey ]
            ann.loraine Ann Loraine made changes -
            Sprint B - Summer 2018 [ 48 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Rank Ranked lower
            ann.loraine Ann Loraine made changes -
            Story Points 3
            ann.loraine Ann Loraine made changes -
            Labels Advanced
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 17819 ] Fall 2019 Workflow Update [ 18820 ]
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 18820 ] Revised Fall 2019 Workflow Update [ 20945 ]
            Status Open [ 1 ] In Progress [ 3 ]
            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.
            ann.loraine Ann Loraine made changes -
            Epic Link IGBF-1765 [ 17855 ]
            ann.loraine Ann Loraine made changes -
            Sprint Summer 4: 14 Jul - 28 Jul [ 99 ]
            ann.loraine Ann Loraine made changes -
            Summary Update default.properties to properly configure OSGi (and other) requirements for Java 10 Update default.properties to properly configure OSGi (and other) requirements for Java 10+
            ann.loraine Ann Loraine made changes -
            Sprint Summer 4: 14 Jul - 28 Jul [ 99 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-2488 [ IGBF-2488 ]
            ann.loraine Ann Loraine made changes -
            Status In Progress [ 3 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            ann.loraine Ann Loraine made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            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.
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            ann.loraine Ann Loraine made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            ann.loraine Ann Loraine made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]

              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: