From: Anamitra B. <abh...@us...> - 2023-06-05 12:22:22
|
thanks a lot for all the great info - we will do an end to end test with Jython soon on java 17 - based on our use cases. Will post the results when we get there. thanks Anamitra Bhattacharyya Maximo STSM IBM Master Inventor ________________________________ From: Jeff Allen <ja...@fa...> Sent: Monday, June 5, 2023 4:20 AM To: jyt...@li... <jyt...@li...> Subject: [EXTERNAL] Re: [Jython-users] Java 17 and support for jython Jython 2 is built with Java 8 and tested with Java 8 and Java 11. The backwards compatibility of Java versions is very high. The byte code is stable. What varies slightly is the Java API, where methods may have been removed, or others overloaded ZjQcmQRYFpfptBannerStart This Message Is From an Untrusted Sender You have not previously corresponded with this sender. ZjQcmQRYFpfptBannerEnd Jython 2 is built with Java 8 and tested with Java 8 and Java 11. The backwards compatibility of Java versions is very high. The byte code is stable. What varies slightly is the Java API, where methods may have been removed, or others overloaded in ways that affect exactly which is found during a call. I ran the regression tests on an installed 2.7.3 with Java 17. The expected result is explained here: https://jython-devguide.readthedocs.io/en/latest/release_jy.html#installation-regrtest<https://jython-devguide.readthedocs.io/en/latest/release_jy.html#installation-regrtest> With Java 17 I got an additional failure from test_httplib that is to do with header data not expected by the test. That may well be satisfactory for your application. You'll do your own tests, of course, and can repeat ours fairly easily. There may be a 2.7.4 this year, and it may be tested with Java 17, but an eventual Jython 3 will get most of the time. Jeff On 04/06/2023 13:24, Oti wrote: It starts: ➜ ~ java -version openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing) ➜ ~ java -jar ~/Downloads/jython-standalone-2.7.3.jar Jython 2.7.3 (tags/v2.7.3:5f29801fe, Sep 10 2022, 18:52:49) [OpenJDK 64-Bit Server VM (Eclipse Adoptium)] on java17.0.7 Type "help", "copyright", "credits" or "license" for more information. >>> Best wishes, Oti. On Wed, May 31, 2023 at 10:15 PM Anamitra Bhattacharyya via Jython-users <jyt...@li...<mailto:jyt...@li...>> wrote: havent tested it yet - we were contemplating a move to java 17 - and since the https://www.jython.org/download<https://www.jython.org/download> for 2.7.3 only lists java 8 and 11 - was not sure if there was another version that would be released for java 17. Not sure if anyone here have tried with java 17 - and any issues with jython 2.7.3 on that. Downloads<https://www.jython.org/download> The Python runtime on the JVM www.jython.org<http://www.jython.org> thanks Anamitra Bhattacharyya Maximo STSM IBM Master Inventor ________________________________ From: Chris Clark <Chr...@ac...<mailto:Chr...@ac...>> Sent: Wednesday, May 31, 2023 4:00 PM To: Anamitra Bhattacharyya <abh...@us...<mailto:abh...@us...>>; jyt...@li...<mailto:jyt...@li...> <jyt...@li...<mailto:jyt...@li...>> Subject: [EXTERNAL] RE: Java 17 and support for jython Are you saying it’s not working? Worth opening a ticket if that’s the case with detailed error/test case. From: Anamitra Bhattacharyya via Jython-users <jython-users@ lists. sourceforge. net><mailto:jython-users@ lists. sourceforge. net> Sent: Wednesday, May 31, 2023 11: 50 ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization. ZjQcmQRYFpfptBannerEnd Are you saying it’s not working? Worth opening a ticket if that’s the case with detailed error/test case. From: Anamitra Bhattacharyya via Jython-users <jyt...@li...<mailto:jyt...@li...>> Sent: Wednesday, May 31, 2023 11:50 AM To: jyt...@li...<mailto:jyt...@li...> Subject: [Jython-users] Java 17 and support for jython Hi just wondering if jython 273 supports java 17? From the jython.org<http://jython.org> website - its java 8 and java 11 - does not mention java 17. If not - is there a version of jython that is coming up that will support java 17? thanks Anamitra Bhattacharyya Maximo STSM IBM Master Inventor _______________________________________________ Jython-users mailing list Jyt...@li...<mailto:Jyt...@li...> https://lists.sourceforge.net/lists/listinfo/jython-users<https://lists.sourceforge.net/lists/listinfo/jython-users> _______________________________________________ Jython-users mailing list Jyt...@li...<mailto:Jyt...@li...> https://lists.sourceforge.net/lists/listinfo/jython-users<https://lists.sourceforge.net/lists/listinfo/jython-users> -- Jeff Allen |