Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[glassfish-dev] Fixes that allow GlassFish 5.1 to run on both JDK 8 and JDK 11.
  • From: "sawamura.hiroki@xxxxxxxxxxx" <sawamura.hiroki@xxxxxxxxxxx>
  • Date: Tue, 28 Jan 2020 07:43:59 +0000
  • Accept-language: ja-JP, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujitsu.com; dmarc=pass action=none header.from=fujitsu.com; dkim=pass header.d=fujitsu.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Z79U2ZxNEwlWbcLgNIg2fMiHM9fAXOhRznejywkZ21c=; b=Cwp56n764HOemmKpV3iW4ZCX++rFikdg35YB+2xzAaTcxr+wxzdYLvUNYxnOktP5Oi6JwmPrB4wogrwqUKBMBDulPnYA16z0gI/4TgzHyF9fF3OrJMwCiEJUj0UtBJv8gfmp4En6qavhhBpPiMMONxCWmXOuo3NOIgzhSf7Z8uekTGA2Yz99XOJXSfS2+yITuBdbJAvb+msBugLVWjXnhD+5LdyAYYAVhhhNpiYt3KfqKV2RnIGbQZ2kSG65/tNlI5p1Abp62wgo6phm3K/GWbP7K+0oUTEexQ9GnzygGYY39WWSAr472fhabDujzOpv3Bv5y5wXTeQ6+EGpOIBkLw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=levdNRlOdjrEHGh1FBHPXvy6Y7gfHnxw76ZR5G2n9248x567OeTWglv+evxiDFfNhBxKqhVpm8nVe2mqr6GBPzEXUImYGAjhcDPAbYCcjTuqy92LHYoluwfpeIiv76hF7Hk/JjEXBMrYGQoYnRw4o38qf1ihGC9RYgbweapVqJXeDeticmAlOyAbKG0w0k6Z/8cECJtzkBgi0m6Fx6hZmTs9MV9W5BMZd3Qg7JJkkWuPQFRF6+gsbLmdbnx7+fgTRqYm5HC/+0mHL0WDmi62VCRh/4/gNsmxANcAXl9gEAkdTGawKHoRagtHVu9M04Bkr2tLrd0ifS28DI0oM1Z2Ww==
  • Delivered-to: glassfish-dev@xxxxxxxxxxx
  • Ironport-sdr: weRkrgrzqOUJdI65orUgmtk1i+uNeFgAE+6UjAryhr6EAUievwCA4R2pllZELFNjioleFh42+G Qn0GqroPpAeDwOU4o8e8mOc1OsEZmr4T7quBSm4bGYoftKN2S7lfiNB1jQYFDFrp2Oux/XuW97 eQK4/yXw2I7f9YLpchnwABVY7v9OYHzVPARj4bfo9gJXzaUivEHAqaGxMt3DHKBP3fHSPscLRC lo/PNT4Wipv7GK8jS0n91VA1ElbLefs59NfdZCoe85IsgPxBJVAxKYt6kzXIqHbDB3AYr4VRZU RZs=
  • List-archive: <https://www.eclipse.org/mailman/private/glassfish-dev>
  • List-help: <mailto:glassfish-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/glassfish-dev>, <mailto:glassfish-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/glassfish-dev>, <mailto:glassfish-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdXVrKqPkMfina0uSFWchg1/BY2pIA==
  • Thread-topic: Fixes that allow GlassFish 5.1 to run on both JDK 8 and JDK 11.

Hi All,

Let me discuss the following issue on this mailing list:
https://github.com/eclipse-ee4j/glassfish/issues/22884

I'm trying to modify GlassFish 5.1.0-run-with-JDK11 branch to work with both JDK 8 and JDK 11 because GlassFish 5.1 must pass TCK 8 to be compatible with Jakarta EE 8, but currently TCK 8 only works on JDK 8.

- Why am I trying to run GF 5.1 on JDK 11?:
  Next Jakarta EE 9 is a tooling release, only a package migration, no feature additions. So I think most GlassFish users 
  will continue to use Jakarta EE 8 for a while. On the other hand, Java SE 8 is about six years old, has an outdated API, 
  and doesn't support the new encryption suite. Thus, GlassFish 5.1's support for Java SE 11, based on Jakarta EE 8, will
  be valuable to GlassFish users.

Currently, some projects related to GlassFish are provided with a multi-release jar module that can be run on both JDK 8 and JDK 11 (such as: eclipse-ee4j/orb-gmbal-pfl, eclipse-ee4j/jaxb-ri, eclipse-ee4j/metro-jax-ws, eclipse-ee4j/metro-wsit). By using these modules and modifying some of GlassFish's core sources, I think GlassFish will work on both JDK 8 and JDK 11. But, on the other hand, GlassFish 6.x does not require JDK 8 support. So I'd like to modify in a way that allows this mechanism to be used if JDK 8 needs to be supported later and less intrusive if JDK 8 no longer needs to be supported. (For example, I think Idea2 and Idea3 in the above issue(#22884) are relatively unobtrusive modifications.)

Suggestions and comments would be greatly appreciated.

Thanks,
Hiroki


Back to the top