{"id":71188,"date":"2024-03-19T14:22:25","date_gmt":"2024-03-19T14:22:25","guid":{"rendered":"https:\/\/www.azul.com\/?p=71188"},"modified":"2024-04-24T20:39:48","modified_gmt":"2024-04-24T20:39:48","slug":"jdk-22-an-average-release-sort-of","status":"publish","type":"post","link":"https:\/\/www.azul.com\/zh-hans\/blog\/jdk-22-an-average-release-sort-of\/","title":{"rendered":"JDK 22\uff0c\u4e00\u4e2a\uff08\u5728\u67d0\u79cd\u610f\u4e49\u4e0a\uff09\u5f88\u201c\u5e73\u5747\u201d\u7684\u7248\u672c"},"content":{"rendered":"\n<p>\u4eca\u5929\uff0cJava \u7684\u6700\u65b0\u7248\u672c JDK 22 \u5982\u540c\u539f\u5b50\u949f\u822c\u89c4\u5f8b\u5730\u5982\u7ea6\u800c\u81f3\u3002\u5c3d\u7ba1\u8fd9\u4e0d\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\uff0c\u4f46\u4e5f\u6ca1\u6709\u4ec0\u4e48\u7406\u7531\u963b\u6b62\u60a8\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\u5b83\uff0c\u800c\u4e14\uff0c\u5b83\u8fd8\u5305\u542b\u4e00\u4e9b\u503c\u5f97\u5173\u6ce8\u7684\u65b0\u529f\u80fd\u3002<\/p>\n\n\n\n<p>\u8ba9\u6211\u4eec\u6765\u6df1\u5165\u4e86\u89e3\u4e00\u4e0b\u8fd9\u4e2a\u7248\u672c\u6709\u4ec0\u4e48\u5185\u5bb9\u3002<\/p>\n\n\n\n<p>Java \u5e73\u53f0\u7684\u65b0\u529f\u80fd\u662f\u901a\u8fc7 JDK \u589e\u5f3a\u63d0\u6848 (JEP) \u5b9a\u4e49\u7684\uff0cJDK 22 \u5b9e\u73b0\u4e86\u5176\u4e2d\u7684 12 \u9879\u63d0\u6848\u3002\u5de7\u5408\u7684\u662f\uff0c\u81ea\u4ece\u5c06\u53d1\u5e03\u5468\u671f\u6539\u4e3a 6 \u4e2a\u6708\u4ee5\u6765\uff0c\u5728\u4e4b\u524d\u7684 13 \u4e2a Java \u7248\u672c\u4e2d\uff0c\u6bcf\u4e2a\u7248\u672c\u5305\u542b\u7684 JEP \u7684\u5e73\u5747\u6570\u91cf\uff08\u53d6\u6574\u6570\uff09\u4e5f\u662f 12\u3002\u6240\u4ee5\u53ef\u4ee5\u8bf4\uff0cJDK 22 \u662f\u4e2a\u5f88\u201c\u5e73\u5747\u201d\u7684\u7248\u672c\uff01<\/p>\n\n\n\n\n    <div class=\"o-inline-link\" id=\"70214\"><\/div>\n\n<section    class=\"c-smart-content c-smart-content--color-dark c-smart-content--mt-default c-smart-content--mb-default c-smart-content--pt-default c-smart-content--pb-default c-smart-content--color-1 o-component o-component--color-dark o-component--mt-default o-component--mb-default o-component--pt-default o-component--pb-default\"\n\n            id=\"block_3bf0b209087f04a90d56809240bcc800\"\n    \n    >\n    \n    <div class=\"o-component__wrap\">\n                    <div class=\"o-container\">\n        \n    \n<h2  class=\"c-smart-content__headline o-headline o-headline--center o-headline--h2 s-medium\"\n    >\n  \u8fdb\u4e00\u6b65\u4e86\u89e3 JDK 22<\/h2>\n\n    \n    <div class=\"c-smart-content__grid c-smart-content__grid--2-cols\">\n        \n<a    class=\"c-smart-content__grid-item o-card o-card--has-image o-card--text-dark\"\n\n    \n            href=\"https:\/\/www.azul.com\/events\/jdk-22-twice-as-good-as-jdk-11\/\"\n        target=\"_self\"\n    >\n    \n            \n    <span class=\"o-card__image o-picture o-picture--card\">\n\n<picture>\n                        \n            \n            <source\n                media=\"(max-width: 425px)\"\n                srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/CleanShot-2024-02-19-at-14.28.44%402x-min-scaled.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=377&#038;s=3e70e9b2a5b0fdb4057e4883783aaaaa 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/CleanShot-2024-02-19-at-14.28.44%402x-min-scaled.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=754&#038;s=198d5c8621772f47c231c61ade6fba8c 2x\"\n            >\n                    \n            \n            <source\n                media=\"(max-width: 767px)\"\n                srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/CleanShot-2024-02-19-at-14.28.44%402x-min-scaled.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=719&#038;s=bacf50e0c3c6967f712482fa1454c3b8 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/CleanShot-2024-02-19-at-14.28.44%402x-min-scaled.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=1438&#038;s=55d6a0cd598f6f246b83e2f294b4ffa6 2x\"\n            >\n                    \n            \n            <source\n                media=\"(max-width: 1023px)\"\n                srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/CleanShot-2024-02-19-at-14.28.44%402x-min-scaled.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=475&#038;s=418a80bacbefb0b84f08165bed21ee13 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/CleanShot-2024-02-19-at-14.28.44%402x-min-scaled.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=950&#038;s=881da68feb09cf0b089bc3481c0189f2 2x\"\n            >\n                    \n            \n            <source\n                media=\"(max-width: 1440px)\"\n                srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/CleanShot-2024-02-19-at-14.28.44%402x-min-scaled.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=548&#038;s=97099e4eea57ba50e9bd50a681db50b6 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/CleanShot-2024-02-19-at-14.28.44%402x-min-scaled.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=1096&#038;s=d09dac5154f9f2185620dbc3f3ee11ae 2x\"\n            >\n            \n    <img class=\"o-picture__image\" height=\"307\" loading=\"lazy\" onerror=\"this.onerror=null;this.srcset=&quot;https:\/\/www.azul.com\/wp-content\/uploads\/CleanShot-2024-02-19-at-14.28.44@2x-min-scaled.jpg&quot;;while(this.parentNode.getElementsByTagName(&quot;source&quot;).length){this.parentNode.getElementsByTagName(&quot;source&quot;)[0].remove();}\" onload=\"if (this.parentNode.previousElementSibling) this.parentNode.previousElementSibling.remove()\" srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/CleanShot-2024-02-19-at-14.28.44%402x-min-scaled.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=548&#038;s=97099e4eea57ba50e9bd50a681db50b6 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/CleanShot-2024-02-19-at-14.28.44%402x-min-scaled.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=1096&#038;s=d09dac5154f9f2185620dbc3f3ee11ae 2x\" width=\"548\">\n<\/picture>\n\n\n    <\/span>\n    \n    <div class=\"o-card__content\">\n                    \n<div  class=\"o-card__text-overline o-overline o-overline--pill\"\n  style=\"--setting--overline-bg-color: #E8EBF1; --setting--overline-text-color: #162241;\">\n  Event<\/div>\n        \n                    \n<h3  class=\"o-card__text-headline o-headline o-headline--h5 s-medium\"\n    >\n  JDK 22: Twice as Good as JDK 11<\/h3>\n        \n                    <div class=\"o-card__text-subheadline s-wysiwyg o-card__text-subheadline--image\">\n                March 27th at 10am PT | Virtual            <\/div>\n        \n        \n                    <div class=\"o-card__button\">\n                \n<button  class=\"o-card__button-cta o-button o-button--navy-900 o-button--text o-button--next\"\n\n  \n  >\n  \n  \n  <span class=\"o-button__label\">View Event<\/span>\n\n      \n<i\n  class=\"o-button__icon o-icon\"\n  >east<\/i>\n  \n  <\/button>\n            <\/div>\n            <\/div>\n<\/a>\n\n<a    class=\"c-smart-content__grid-item o-card o-card--id-1 o-card--has-image o-card--text-dark\"\n\n    \n            href=\"https:\/\/www.azul.com\/report\/2023-state-of-java\/\"\n        target=\"_blank\"\n    >\n    \n            \n    <span class=\"o-card__image o-picture o-picture--card\">\n\n<picture>\n                        \n            \n            <source\n                media=\"(max-width: 425px)\"\n                srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/State-of-Java-2023-OG-Image.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=377&#038;s=7e635e0ec2138b69bf68e9d2ecdbecfc 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/State-of-Java-2023-OG-Image.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=754&#038;s=ee8ba64d380bd312a790655d71eeffb2 2x\"\n            >\n                    \n            \n            <source\n                media=\"(max-width: 767px)\"\n                srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/State-of-Java-2023-OG-Image.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=719&#038;s=d863a6a2eb7099039ec6e176fa7b48d4 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/State-of-Java-2023-OG-Image.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=1438&#038;s=d7617f75ecd38b30b18325ffc7be90cb 2x\"\n            >\n                    \n            \n            <source\n                media=\"(max-width: 1023px)\"\n                srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/State-of-Java-2023-OG-Image.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=475&#038;s=d2c33e82e17a14c20a70c2899436e2ce 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/State-of-Java-2023-OG-Image.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=950&#038;s=dfd282dbd0da9ab6cff1d8b6bd892f99 2x\"\n            >\n                    \n            \n            <source\n                media=\"(max-width: 1440px)\"\n                srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/State-of-Java-2023-OG-Image.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=548&#038;s=a460184e083187b68669f1c2ce2d3b3d 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/State-of-Java-2023-OG-Image.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=1096&#038;s=33d0a80f80576c323634c2756c57a8f6 2x\"\n            >\n            \n    <img alt=\"SoJ - Template1 - 1200x630 - 1\" class=\"o-picture__image\" height=\"288\" loading=\"lazy\" onerror=\"this.onerror=null;this.srcset=&quot;https:\/\/www.azul.com\/wp-content\/uploads\/State-of-Java-2023-OG-Image.jpg&quot;;while(this.parentNode.getElementsByTagName(&quot;source&quot;).length){this.parentNode.getElementsByTagName(&quot;source&quot;)[0].remove();}\" onload=\"if (this.parentNode.previousElementSibling) this.parentNode.previousElementSibling.remove()\" srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/State-of-Java-2023-OG-Image.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=548&#038;s=a460184e083187b68669f1c2ce2d3b3d 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/State-of-Java-2023-OG-Image.jpg?auto=format&#038;crop=faces,entropy&#038;fit=crop&#038;q=80&#038;ar=1.91082802548&#038;w=1096&#038;s=33d0a80f80576c323634c2756c57a8f6 2x\" width=\"548\">\n<\/picture>\n\n\n    <\/span>\n    \n    <div class=\"o-card__content\">\n                    \n<div  class=\"o-card__text-overline o-overline o-overline--pill\"\n  style=\"--setting--overline-bg-color: #DCFEFF; --setting--overline-text-color: #035E5E;\">\n  Research &#038; White Papers<\/div>\n        \n                    \n<h3  class=\"o-card__text-headline o-headline o-headline--h5 s-medium\"\n    >\n  Azul State of Java Survey and Report 2023<\/h3>\n        \n        \n        \n                    <div class=\"o-card__button\">\n                \n<button  class=\"o-card__button-cta o-button o-button--navy-900 o-button--text o-button--next\"\n\n  \n  >\n  \n  \n  <span class=\"o-button__label\">Read Now<\/span>\n\n      \n<i\n  class=\"o-button__icon o-icon\"\n  >east<\/i>\n  \n  <\/button>\n            <\/div>\n            <\/div>\n<\/a>\n    <\/div>\n\n\n          <\/div>\n      <\/div>\n<\/section>\n\n\n\n<p>\u8fdb\u4e00\u6b65\u62c6\u5206\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u56db\u4e2a\u6700\u7ec8\u529f\u80fd\uff0c\u4ee5\u53ca\u516b\u4e2a\u9884\u89c8\u529f\u80fd\u6216\u5b75\u5316\u6a21\u5757\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-java-\u8bed\u8a00\u7684\u53d8\u5316\">Java \u8bed\u8a00\u7684\u53d8\u5316<\/h2>\n\n\n\n<p><a href=\"https:\/\/openjdk.org\/jeps\/447\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 447<\/strong><\/a><strong>\uff1a<\/strong><strong>super() <\/strong><strong>\u4e4b\u524d\u7684\u8bed\u53e5\uff08\u9884\u89c8\uff09\u3002<\/strong>\u4f5c\u4e3a\u4e00\u79cd\u9762\u5411\u5bf9\u8c61\u7684\u8bed\u8a00\uff0cJava \u652f\u6301\u6269\u5c55\u53e6\u4e00\u4e2a\uff08\u975e final\uff09\u7c7b\uff0c\u5e76<em>\u7ee7\u627f<\/em>\u5176\u72b6\u6001\u548c\u884c\u4e3a\uff08\u5728\u5141\u8bb8\u7684\u60c5\u51b5\u4e0b\uff09\u3002\u4e3a\u4e86\u53ef\u9760\u5730\u5b9e\u73b0\u8fd9\u4e00\u70b9\uff0c\u5fc5\u987b\u6309\u81ea\u4e0a\u800c\u4e0b\u7684\u987a\u5e8f\u8c03\u7528\u7c7b\u7684\u6784\u9020\u51fd\u6570\uff0c\u4ee5\u907f\u514d\u5b50\u7c7b\u6784\u9020\u51fd\u6570\u5e72\u6270\u8d85\u7c7b\u6784\u9020\u51fd\u6570\u3002\u5982\u679c\u5f00\u53d1\u4eba\u5458\u51b3\u5b9a\u663e\u5f0f\u8c03\u7528\u8d85\u7c7b\u6784\u9020\u51fd\u6570\uff0c\u5219\u8fd9\u6761\u8c03\u7528\u8bed\u53e5\u5fc5\u987b\u662f\u7b2c\u4e00\u6761\u8bed\u53e5\u3002<\/p>\n\n\n\n<p>\u8fd9\u4f1a\u5e26\u6765\u4e00\u4e9b\u9650\u5236\uff0c\u5bfc\u81f4\u4ee3\u7801\u6bd4\u9884\u671f\u66f4\u590d\u6742\u3002\u5176\u4e2d\u6700\u663e\u8457\u7684\u662f\uff0c\u5728\u8c03\u7528\u8d85\u7c7b\u6784\u9020\u51fd\u6570\u4e4b\u524d\uff0c\u65e0\u6cd5\u5bf9\u6784\u9020\u51fd\u6570\u7684\u53c2\u6570\u8fdb\u884c\u6d4b\u8bd5\u3002\u5982\u679c\u6d4b\u8bd5\u5bfc\u81f4\u629b\u51fa\u5f02\u5e38\uff0c\u5219\u5bf9\u8d85\u7c7b\u6784\u9020\u51fd\u6570\u7684\u8c03\u7528\u5c31\u6210\u4e86\u6280\u672f\u4e0a\u4e0d\u5fc5\u8981\u7684\u5f00\u9500\u3002<\/p>\n\n\n\n<p>\u8be5 JEP \u5f15\u5165\u4e86\u4e00\u79cd<em>\u53d7\u63a7<\/em>\u7684\u65b9\u6cd5\uff0c\u5141\u8bb8\u5728\u8c03\u7528 super() \u4e4b\u524d\u6267\u884c\u8bed\u53e5\u3002\u5bf9 <em>this<\/em> \u6216 <em>super<\/em> \u5bf9\u8c61\u5f15\u7528\u7684\u4efb\u4f55\u5f15\u7528\u90fd\u4f1a\u4ea7\u751f\u9519\u8bef\uff0c\u56e0\u4e3a\u88ab\u5f15\u7528\u7684\u5bf9\u8c61\u5c1a\u672a\u5b8c\u5168\u521d\u59cb\u5316\u3002JEP \u4e2d\u8fd8\u8be6\u7ec6\u63cf\u8ff0\u4e86\u5176\u4ed6\u51e0\u9879\u9650\u5236\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/openjdk.org\/jeps\/456\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 456<\/strong><\/a><strong>\uff1a\u4e0d\u5177\u540d\u6a21\u5f0f\u548c\u53d8\u91cf\u3002<\/strong>\u8be5\u529f\u80fd\u5728 JDK 21 \u4e2d\u4f5c\u4e3a\u9884\u89c8\u529f\u80fd\u63a8\u51fa\uff0c\u76ee\u524d\u5df2\u6210\u4e3a\u6700\u7ec8\u529f\u80fd\uff0c\u65e0\u4efb\u4f55\u6539\u52a8\u3002<\/p>\n\n\n\n<p>\u8be5\u529f\u80fd\u5141\u8bb8\u5f00\u53d1\u4eba\u5458\u4f7f\u7528\u5355\u4e2a\u4e0b\u5212\u7ebf\u201c_\u201d\u6765\u8868\u793a\u4e0d\u4f1a\u88ab\u4f7f\u7528\u7684\u53d8\u91cf\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u786e\u4fdd\u4ee5\u6b63\u786e\u7684\u8bed\u6cd5\u6784\u9020\u4ee3\u7801\uff0c\u5e76\u63d0\u9ad8\u5176\u53ef\u8bfb\u6027\uff0c\u907f\u514d\u5177\u540d\u53d8\u91cf\u5bfc\u81f4\u4ee3\u7801\u6742\u4e71\u65e0\u7ae0\u3001\u96be\u4ee5\u7406\u89e3\u7684\u60c5\u51b5\u3002<\/p>\n\n\n\n<p>foreach \u98ce\u683c\u7684\u5faa\u73af\u5c31\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u5b83\u4f1a\u904d\u5386\u96c6\u5408\uff0c\u4f46\u4e0d\u4f1a\u4f7f\u7528\u68c0\u7d22\u5230\u7684\u503c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> for (String name : userList)\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; userCount++;<\/code><\/pre>\n\n\n\n<p>\u53ef\u4ee5\u7b80\u5316\u4e3a\uff1a<\/p>\n\n\n\n<p><pre class=\"wp-block-code\"><code>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 for (String _ : userList) \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 userCount++;<\/code><\/pre> <\/p>\n\n\n\n<p>\u8fd9\u662f\u4e00\u4e2a\u4e0d\u8d77\u773c\u7684\u4f8b\u5b50\uff0c\u4f46\u5982\u679c\u5e94\u7528\u5230\u6a21\u5f0f\u4e2d\uff0c\u5b83\u7684\u4ef7\u503c\u5c31\u4f1a\u53d8\u5f97\u66f4\u663e\u8457\u3002\u4f7f\u7528\u7ec4\u5408\u7684\u8bb0\u5f55\u6a21\u5f0f\uff08\u4e00\u79cd\u89e3\u6784\u6a21\u5f0f\uff09\u65f6\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u7f16\u5199\u8fd9\u6837\u7684\u4ee3\u7801\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public void printTopLeftX(Rectangle r) {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;  if (r instanceof ColourRectangle(ColourPoint(\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Point(double x, double y), Colour c),\n                       ColourPoint bottomRight))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;  System.out.println(x);\n                 }<\/code><\/pre>\n\n\n\n<p>\u7531\u4e8e\u6211\u4eec\u53ea\u4f7f\u7528 x \u7684\u503c\uff0c\u5176\u4ed6\u6240\u6709\u53d8\u91cf\uff08\u5305\u62ec\u5b83\u4eec\u7684\u7c7b\u578b\u5b9a\u4e49\uff09\u90fd\u662f\u591a\u4f59\u7684\uff0c\u4f1a\u4f7f\u4ee3\u7801\u53d8\u5f97\u590d\u6742\u96be\u61c2\u3002\u00a0 \u4f7f\u7528\u4e0d\u5177\u540d\u6a21\u5f0f\uff0c\u6211\u4eec\u53ef\u4ee5\u8fd9\u6837\u91cd\u5199\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public void printTopLeftX(Rectangle r) {\n                 if (r instanceof ColourRectangle(ColourPoint(Point(var x, _), _), _) )\n            System.out.println(x);\n            }<\/code><\/pre>\n\n\n\n<p>\u5b83\u4eec\u4e5f\u53ef\u4ee5\u5728 switch \u548c lambda \u8868\u8fbe\u5f0f\u7684\u6a21\u5f0f\u5339\u914d\u4e2d\u4f7f\u7528\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/openjdk.org\/jeps\/459\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 459<\/strong><\/a><strong>\uff1a\u5b57\u7b26\u4e32\u6a21\u677f\uff08\u9884\u89c8\uff09\u3002<\/strong>\u8be5\u529f\u80fd\u5728 JDK 21 \u4e2d\u4f5c\u4e3a\u9884\u89c8\u529f\u80fd\u63a8\u51fa\uff0c\u76ee\u524d\u4ecd\u5904\u4e8e\u9884\u89c8\u9636\u6bb5\uff0c\u65e0\u5f00\u53d1\u4eba\u5458\u53ef\u89c1\u7684\u6539\u52a8\u3002<\/p>\n\n\n\n<p>\u5728 Java \u4e2d\uff0c\u6784\u5efa\u5b57\u7b26\u4e32\u7684\u65b9\u5f0f\u6709\u591a\u79cd\uff0c\u5305\u62ec\uff1a\u901a\u8fc7\u5b57\u7b26\u4e32\u62fc\u63a5\uff0c\u4ee5\u53ca\u4f7f\u7528 StringBuilder \u7b49\u5e93\u7c7b\u548c String.format()\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u6a21\u677f\uff0c\u4ee5\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u5f0f\u8868\u8fbe\u5305\u542b\u4e86\u5c06\u5728\u8fd0\u884c\u65f6\u8ba1\u7b97\u7684\u503c\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n\n\n\n<p>\u73b0\u5728\uff0c\u6211\u4eec\u6709\u4e86\u4e00\u4e2a\u5b57\u7b26\u4e32\u6a21\u677f\u5904\u7406\u5668 STR\uff0c\u5b83\u53ef\u4ee5\u5bf9\u5b57\u7b26\u4e32\u6267\u884c\u63d2\u503c\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p>\u4e3e\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u6211\u4eec\u53ef\u4ee5\u8fd9\u6837\u63d2\u5165\u503c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String name = \"Simon\";\n                 String info = STR.\" My name is \\{name}\";<\/code><\/pre>\n\n\n\n<p>\u5b57\u7b26\u4e32\u6a21\u677f\u7684\u771f\u6b63\u5f3a\u5927\u4e4b\u5904\u5728\u4e8e\uff0c\u5b83\u652f\u6301\u66f4\u590d\u6742\u7684\u63d2\u503c\uff0c\u4f8b\u5982\u4f7f\u7528\u65b9\u6cd5\u8c03\u7528\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String s = STR.\" We are here \\{\n                      \/\/ Method call\n                 DateTimeFormatter\n                           .ofPattern(\"B\")\n                           .format(LocalTime.now())\n                 } learning Java\";<\/code><\/pre>\n\n\n\n<p>\u8bf7\u6ce8\u610f\uff0c\u6211\u4eec\u53ef\u4ee5\u968f\u610f\u7f29\u8fdb\u4ee3\u7801\uff0c\u8fd9\u5e76\u4e0d\u4f1a\u5f71\u54cd\u751f\u6210\u7684\u5b57\u7b26\u4e32\uff0c\u751a\u81f3\u8fd8\u53ef\u4ee5\u52a0\u5165\u6ce8\u91ca\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/openjdk.org\/jeps\/463\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 463<\/strong><\/a><strong>\uff1a\u9690\u5f0f\u58f0\u660e\u7684\u7c7b\u548c\u5b9e\u4f8b\u4e3b\u65b9\u6cd5\uff08\u9884\u89c8\uff09\u3002<\/strong>\u6b64\u529f\u80fd\u5728 JDK 21 \u4e2d\u4f5c\u4e3a\u9884\u89c8\u529f\u80fd\u63a8\u51fa\uff0c\u5728\u5f15\u5165\u4e00\u4e9b\u91cd\u5927\u66f4\u6539\u540e\uff0c\u76ee\u524d\u4ecd\u5904\u4e8e\u9884\u89c8\u72b6\u6001\u3002<\/p>\n\n\n\n<p>\u5373\u4f7f\u662f\u7f16\u5199\u6700\u7b80\u5355\u7684 Java \u5e94\u7528\u7a0b\u5e8f\uff0c\u4e5f\u9700\u8981\u9075\u5faa\u5927\u91cf\u7e41\u7410\u7684\u89c4\u8303\uff08\u7f16\u5199\u6837\u677f\u4ee3\u7801\uff09\u3002\u5bf9\u4e8e\u4f20\u7edf\u7684\u201chello world\u201d\u7a0b\u5e8f\uff0c\u6211\u4eec\u9700\u8981\u7f16\u5199\u6240\u6709\u8fd9\u4e9b\u4ee3\u7801\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>             public class Hello {\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;   public static void main(String&#91;] args) {\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    System.out.println(\u201cHello, World!\u201d);\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;   }\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  }<\/code><\/pre>\n\n\n\n<p>\u6b64 JEP \u5141\u8bb8\u7a0b\u5e8f\u4f7f\u7528\u4e00\u4e2a\u4e0d\u9700\u8981\u6807\u8bb0\u4e3a static \u6216 public \u7684\u5b9e\u4f8b main \u65b9\u6cd5\u3002\u5b83\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7f16\u8bd1\u5355\u5143\uff0c\u8ba9\u6211\u4eec\u4e0d\u518d\u9700\u8981\u663e\u5f0f\u5730\u5b9a\u4e49\u7c7b\u3002\u00a0 \u8fd9\u4e9b\u66f4\u6539\u7684\u6574\u4f53\u6548\u679c\u662f\u5c06\u6211\u4eec\u7684\u5e94\u7528\u7a0b\u5e8f\u7b80\u5316\u6210\u4e86\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>             void main(){\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;   System.out.printIn(\"Hello, World!\");\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;}<\/code><\/pre>\n\n\n\n<p>\u8fd9\u5bf9\u4e8e\u7ecf\u9a8c\u4e30\u5bcc\u7684\u5f00\u53d1\u4eba\u5458\u7528\u5904\u6709\u9650\uff0c\u4f46\u5bf9 Java \u65b0\u624b\u6709\u5e2e\u52a9\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u5e93\u7684\u53d8\u5316\">\u5e93\u7684\u53d8\u5316<\/h2>\n\n\n\n<p><a href=\"https:\/\/openjdk.org\/jeps\/454\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 454<\/strong><\/a><strong>\uff1a\u5916\u90e8\u51fd\u6570\u548c\u5185\u5b58<\/strong><strong> API<\/strong><strong>\u3002<\/strong>\u8be5\u529f\u80fd\u6700\u521d\u5728 JDK 19 \u4e2d\u4f5c\u4e3a\u9884\u89c8\u529f\u80fd\u63a8\u51fa\uff0c\u76ee\u524d\u5df2\u6210\u4e3a\u6700\u7ec8\u529f\u80fd\u3002<\/p>\n\n\n\n<p>\u8be5 API \u662f\u5df4\u62ff\u9a6c\u9879\u76ee (Project Panama) \u7684\u4e00\u90e8\u5206\uff0c\u5b83\u4e3a Java \u672c\u5730\u63a5\u53e3 (JNI) \u63d0\u4f9b\u4e86\u66f4\u7b80\u5355\u7684\u66ff\u4ee3\u65b9\u6848\u3002\u8fd9\u4e9b API \u63d0\u4f9b\u4e86\u4e0e\u672c\u5730\u5185\u5b58\uff0c\u4ee5\u53ca\u76f4\u63a5\u7f16\u8bd1\u6210\u672c\u5730\u4ee3\u7801\uff08\u800c\u975e\u5b57\u8282\u7801\uff09\u7684\u5916\u90e8\u5e93\u8fdb\u884c\u4ea4\u4e92\u7684\u6807\u51c6\u65b9\u5f0f\u3002\u901a\u8fc7\u4e0b\u884c\u8c03\u7528\uff08\u4ece Java \u5230\u672c\u5730\u51fd\u6570\uff09\u548c\u4e0a\u884c\u8c03\u7528\uff08\u4ece\u672c\u5730\u4ee3\u7801\u5230 Java \u4ee3\u7801\u7684\u56de\u8c03\uff09\uff0c\u53ef\u4ee5\u5b9e\u73b0\u53cc\u5411\u4ea4\u4e92\u3002<\/p>\n\n\n\n<p>\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528\u9644\u52a0\u7684 jextract \u5de5\u5177\u751f\u6210\u8bbf\u95ee\u5916\u90e8\u5e93\u7684\u4ee3\u7801\u3002JDK \u9ed8\u8ba4\u4e0d\u5305\u542b\u8be5\u5de5\u5177\uff0c\u4f46 OpenJDK \u4ee5\u6e90\u4ee3\u7801\u7684\u5f62\u5f0f\u63d0\u4f9b\u5b83\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/openjdk.org\/jeps\/457\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 457<\/strong><\/a><strong>\uff1a\u7c7b\u6587\u4ef6<\/strong><strong> API<\/strong><strong>\uff08\u9884\u89c8\uff09\u3002<\/strong>\u5927\u591a\u6570\u5f00\u53d1\u8005\u53ef\u80fd\u4e0d\u4f1a\u5173\u6ce8\u8fd9\u4e2a API\u3002JVM \u4e3a\u4e86\u52a0\u8f7d\u548c\u8fd0\u884c\u5e94\u7528\u7a0b\u5e8f\uff0c\u663e\u7136\u5fc5\u987b\u5bf9\u7c7b\u6587\u4ef6\u8fdb\u884c\u5904\u7406\uff0c\u6b64\u5916\uff0c\u8bb8\u591a\u6846\u67b6\u548c\u5e93\u4e5f\u9700\u8981\u5904\u7406\u7c7b\u6587\u4ef6\u3002<\/p>\n\n\n\n<p>\u6b64 API \u65e8\u5728\u4e3a\u7528\u6237\u4e0e\u7c7b\u6587\u4ef6\u7684\u4ea4\u4e92\u63d0\u4f9b\u4e00\u79cd\u6807\u51c6\u5316\u548c\u7b80\u5316\u7684\u65b9\u5f0f\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/openjdk.org\/jeps\/460\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 460<\/strong><\/a><strong>\uff1a<\/strong><strong>Vector API<\/strong><strong>\uff08\u9884\u89c8\uff09\u3002<\/strong>\u8be5 API \u4fdd\u6301\u7740\u9884\u89c8\u65f6\u95f4\u6700\u957f\u7684\u8bb0\u5f55\uff0c\u5728 JDK 22 \u4e2d\uff0c\u5176\u5df2\u8fdb\u5165\u4e86\u7b2c\u4e03\u4e2a\u8fed\u4ee3\u7248\u672c\u3002<\/p>\n\n\n\n<p>\u5728\u8fd9\u91cc\uff0c\u201cVector\u201d\u662f\u6307\u6240\u6709\u73b0\u4ee3 CPU \u4e2d\u90fd\u63d0\u4f9b\u7684\u5927\u4f4d\u5bbd\u5bc4\u5b58\u5668\u3002\u4f7f\u7528\u4e00\u79cd\u79f0\u4e3a\u201c\u5355\u6307\u4ee4\u3001\u591a\u6570\u636e\u201d(SIMD) \u7684\u6280\u672f\uff0c\u53ef\u4ee5\u5c06\u6570\u7ec4\u4e2d\u7684\u591a\u4e2a\u5143\u7d20\u52a0\u8f7d\u5230\u77e2\u91cf\u4e2d\uff0c\u5e76\u5728\u4e00\u4e2a\u65f6\u949f\u5468\u671f\u5185\u6267\u884c\u76f8\u540c\u7684\u64cd\u4f5c\uff08\u4f8b\u5982\u589e\u52a0\u6216\u51cf\u53bb\u4e00\u4e2a\u503c\uff09\u3002\u8fd9\u79cd\u5e76\u884c\u5904\u7406\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u6570\u503c\u5bc6\u96c6\u578b\u8fd0\u7b97\u7684\u6027\u80fd\u3002<\/p>\n\n\n\n<p>\u901a\u8fc7\u8fd9\u4e2a API\uff0c\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u6307\u5b9a\u5982\u4f55\u5c06\u503c\u5b58\u50a8\u5230\u77e2\u91cf\u4e2d\uff0c\u4ee5\u53ca\u9700\u8981\u5bf9\u5176\u6267\u884c\u7684\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p>\u5bf9\u4e8e\u7b80\u5355\u7684\u60c5\u51b5\uff0cJVM \u5185\u90e8\u7684\u5373\u65f6 (JIT) \u7f16\u8bd1\u5668\u5c06\u8bc6\u522b\u53ef\u4ee5\u4f7f\u7528\u77e2\u91cf\u8fd0\u7b97\u7684\u60c5\u5883\uff0c\u5e76\u81ea\u52a8\u5e94\u7528\u5b83\u4eec\u3002\u800c\u5bf9\u4e8e\u8f83\u590d\u6742\u7684\u60c5\u51b5\uff08\u4f8b\u5982\uff0c\u5faa\u73af\u4e2d\u5305\u542b\u5bf9\u8ba1\u7b97\u7684\u6761\u4ef6\u6d4b\u8bd5\uff09\uff0c\u8fd9\u4e2a API \u5c06\u4f1a\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n\n\n\n<p>\u53e6\u5916\uff0c<a href=\"https:\/\/www.azul.com\/prime-post-download\/?endpoint=prime&amp;uuid=c6729286-d99c-4701-9c17-3ea519fc4688\">Azul Platform Prime Zing JVM<\/a> \u4f7f\u7528\u4e86\u4e00\u4e2a\u66ff\u4ee3\u7248\u672c\u7684 JIT \u7f16\u8bd1\u5668\uff0c<a href=\"https:\/\/www.azul.com\/products\/components\/falcon-jit-compiler\/\">\u540d\u4e3a Falcon<\/a>\u3002Falcon \u57fa\u4e8e\u5f00\u6e90\u7684 LLVM \u9879\u76ee\uff0c\u80fd\u591f\u8bc6\u522b\u66f4\u591a\u53ef\u4ee5\u4f7f\u7528\u77e2\u91cf\u8fd0\u7b97\u7684\u60c5\u51b5\uff0c\u5e76\u5728\u65e0\u9700\u4fee\u6539\u4ee3\u7801\u7684\u524d\u63d0\u4e0b\u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u6027\u80fd\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/openjdk.org\/jeps\/461\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 461<\/strong><\/a><strong>\uff1a\u6d41\u805a\u5408\u5668\uff08\u9884\u89c8\uff09\u3002<\/strong>JDK 8 \u4e2d\u5f15\u5165\u4e86\u6d41 API\uff0c\u5b83\u4e0e lambda \u8868\u8fbe\u5f0f\u76f8\u7ed3\u5408\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u504f\u51fd\u6570\u5f0f\u7684\u7f16\u7a0b\u98ce\u683c\uff0c\u8fd9\u5728\u4e4b\u524d\u7684 Java \u7248\u672c\u4e2d\u662f\u65e0\u6cd5\u5b9e\u73b0\u7684\u3002<\/p>\n\n\n\n<p>\u6d41\u5305\u542b\u4e00\u4e2a\u6e90\uff0c\u5728\u4f7f\u7528\u7ec8\u7aef\u64cd\u4f5c\u751f\u6210\u7ed3\u679c\u6216\u526f\u4f5c\u7528\u4e4b\u524d\uff0c\u53ef\u4ee5\u901a\u8fc7\u96f6\u4e2a\u6216\u591a\u4e2a\u4e2d\u95f4\u64cd\u4f5c\u4f20\u9012\u6e90\u63d0\u4f9b\u7684\u5143\u7d20\u3002<\/p>\n\n\n\n<p>\u5bf9\u4e8e\u7ec8\u7aef\u64cd\u4f5c\uff0c\u53ef\u4ee5\u901a\u8fc7 Stream::collector \u5b9a\u4e49\u81ea\u5df1\u7684\u529f\u80fd\u3002&nbsp; \u5c3d\u7ba1\u6709\u4e00\u5957\u4e30\u5bcc\u7684\u4e2d\u95f4\u64cd\u4f5c\uff0c\u4f46\u5b83\u4eec\u662f\u56fa\u5b9a\u7684\uff0c\u5f00\u53d1\u4eba\u5458\u65e0\u6cd5\u5bf9\u5176\u8fdb\u884c\u6269\u5c55\u3002<\/p>\n\n\n\n<p>\u73b0\u5728\uff0c\u6d41\u805a\u5408\u5668 API \u63d0\u4f9b\u4e86\u5b9a\u4e49\u65b0\u4e2d\u95f4\u64cd\u4f5c\u7684\u65b9\u5f0f\u3002<\/p>\n\n\n\n<p>\u805a\u5408\u5668\u7531\u56db\u4e2a\u51fd\u6570\u5b9a\u4e49\uff1a\u53ef\u9009\u7684\u521d\u59cb\u5316\u5668\u3001\u96c6\u6210\u5668\u3001\u53ef\u9009\u7684\u7ec4\u5408\u5668\u548c\u53ef\u9009\u7684\u5b8c\u6210\u5668\u3002\u4f7f\u7528\u5b83\u4eec\uff0c\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u5b8c\u5168\u7075\u6d3b\u5730\u5904\u7406\u805a\u5408\u5668\u7684\u8f93\u5165\u5143\u7d20\uff0c\u5e76\u5c06\u751f\u6210\u7684\u8f93\u51fa\u4f20\u9012\u7ed9\u4e0b\u4e00\u4e2a\u4e2d\u95f4\u64cd\u4f5c\u6216\u7ec8\u7aef\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/openjdk.org\/jeps\/462\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 462<\/strong><\/a><strong>\uff1a\u7ed3\u6784\u5316\u5e76\u53d1\uff08\u9884\u89c8\uff09\u3002<\/strong>\u8be5\u529f\u80fd\u5728 JDK 19 \u4e2d\u4f5c\u4e3a\u5b75\u5316\u6a21\u5757\u9996\u6b21\u5f15\u5165\uff0c\u81ea JDK 21 \u8d77\u6210\u4e3a\u9884\u89c8\u529f\u80fd\u3002\u6b64\u7248\u672c\u672a\u5bf9\u5176\u505a\u51fa\u4efb\u4f55\u66f4\u6539\u3002<\/p>\n\n\n\n<p>\u5f52\u6839\u7ed3\u5e95\uff0c\u7f16\u5199\u53ef\u9760\u7684\u591a\u7ebf\u7a0b\u4ee3\u7801\u6781\u5177\u6311\u6218\u6027\u3002\u7eb5\u89c2 Java \u7684\u5386\u53f2\uff0c\u8bb8\u591a\u65b0\u529f\u80fd\u7684\u8bde\u751f\u76ee\u6807\u662f\u4e3a\u4e86\u81f3\u5c11\u5728\u67d0\u79cd\u7a0b\u5ea6\u4e0a\u7b80\u5316\u8fd9\u9879\u4efb\u52a1\u3002\u5e76\u53d1\u5de5\u5177\u3001fork-join \u6846\u67b6\uff0c\u548c\u5e76\u884c\u6d41\u4e3a\u4e0d\u540c\u7c7b\u578b\u7684\u591a\u7ebf\u7a0b\u60c5\u5883\u63d0\u4f9b\u4e86\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n<p>\u7ed3\u6784\u5316\u5e76\u53d1\u662f Loom \u9879\u76ee\u7684\u4e00\u90e8\u5206\uff0c\u5b83\u5c06\u8fd0\u884c\u5728\u4e0d\u540c\u7ebf\u7a0b\u4e2d\u7684\u591a\u9879\u4efb\u52a1\u89c6\u4f5c\u4e00\u4e2a\u5de5\u4f5c\u5355\u5143\u3002\u8fd9\u7b80\u5316\u4e86\u9519\u8bef\u5904\u7406\u548c\u53d6\u6d88\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/openjdk.org\/jeps\/464\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 464<\/strong><\/a><strong>\uff1a\u4f5c\u7528\u57df\u503c\uff08\u9884\u89c8\uff09\u3002<\/strong>\u6b64\u529f\u80fd\u6700\u521d\u5728 JDK 21 \u4e2d\u4f5c\u4e3a\u9884\u89c8\u529f\u80fd\u63a8\u51fa\u3002\u5728 JDK 22 \u4e2d\u65e0\u66f4\u6539\uff0c\u76ee\u524d\u4ecd\u5904\u4e8e\u9884\u89c8\u72b6\u6001\u3002<\/p>\n\n\n\n<p>\u4f5c\u7528\u57df\u503c\u4e5f\u4e0e Loom \u9879\u76ee\u76f8\u5173\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u66ff\u4ee3\u7ebf\u7a0b\u5c40\u90e8\u53d8\u91cf\u7684\u9009\u62e9\u3002\u4f5c\u7528\u57df\u503c\u4e0e\u7ebf\u7a0b\u5c40\u90e8\u53d8\u91cf\u7684\u5173\u952e\u533a\u522b\u5728\u4e8e\uff0c\u4f5c\u4e3a\u503c\uff08\u800c\u975e\u53d8\u91cf\uff09\uff0c\u5b83\u4eec\u662f\u4e0d\u53ef\u53d8\u7684\u3002<\/p>\n\n\n\n<p>\u7ebf\u7a0b\u5c40\u90e8\u53d8\u91cf\u7684\u590d\u6742\u6027\u901a\u5e38\u8d85\u51fa\u4e86\u5b9e\u9645\u9700\u8981\u7684\u7a0b\u5ea6\uff0c\u5e76\u4e14\u4e0e\u4e4b\u76f8\u5173\u7684\u8d44\u6e90\u6210\u672c\u76f8\u5f53\u9ad8\u3002\u7531\u4e8e\u865a\u62df\u7ebf\u7a0b\u652f\u6301\u66f4\u9ad8\u7684\u53ef\u6269\u5c55\u6027\uff0c\u6bd4\u5e73\u53f0\u7ebf\u7a0b\u9ad8\u51fa\u51e0\u4e2a\u6570\u91cf\u7ea7\uff0c\u56e0\u800c\u8fd9\u79cd\u8d44\u6e90\u6210\u672c\u53ef\u80fd\u4f1a\u6210\u4e3a\u4e00\u79cd\u9650\u5236\u6027\u56e0\u7d20\u3002\u4f5c\u7528\u57df\u503c\u89e3\u51b3\u4e86\u8fd9\u4e00\u95ee\u9898\uff0c\u4f7f\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u7075\u6d3b\u5904\u7406\u591a\u7ebf\u7a0b\u5e94\u7528\u7a0b\u5e8f\u903b\u8f91\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-jvm-\u548c\u5176\u4ed6\u66f4\u6539\">JVM \u548c\u5176\u4ed6\u66f4\u6539<\/h2>\n\n\n\n<p><a href=\"https:\/\/openjdk.org\/jeps\/423\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 423<\/strong><\/a><strong>\uff1a<\/strong><strong>G1 <\/strong><strong>\u533a\u57df\u56fa\u5b9a\u3002<\/strong>\u8fd9\u662f\u5bf9 G1 \u5783\u573e\u6536\u96c6\u5668\u5de5\u4f5c\u65b9\u5f0f\u7684\u6539\u8fdb\uff0c\u53ef\u4ee5\u5728\u4f7f\u7528 JNI \u65f6\u964d\u4f4e\u5ef6\u8fdf\u3002<\/p>\n\n\n\n<p>\u4e0e Java \u4ee3\u7801\u4e0d\u540c\uff0cJNI \u4ea4\u4e92\u53ef\u80fd\u4f1a\u4f7f\u7528\u663e\u5f0f\u6307\u9488\u6307\u5411\u5806\u4e2d\u7684\u5bf9\u8c61\u3002\u5f53 Java \u7ebf\u7a0b\u6267\u884c JNI \u4ee3\u7801\u7684\u5173\u952e\u533a\u57df\u65f6\uff0c\u65e0\u6cd5\u5c06\u8fd9\u4e9b\u5bf9\u8c61\u91cd\u65b0\u79fb\u52a8\u5230\u5806\u5185\u7684\u5176\u4ed6\u4f4d\u7f6e\u3002\u4e3a\u4e86\u907f\u514d\u8fd9\u4e2a\u95ee\u9898\uff0cG1 \u5728\u5173\u952e\u533a\u57df\u7981\u7528\u4e86\u5783\u573e\u6536\u96c6\u5668\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5bfc\u81f4\u5ef6\u8fdf\u589e\u52a0\uff0c\u56e0\u4e3a\u5982\u679c\u5176\u4ed6\u975e JNI \u7ebf\u7a0b\u89e6\u53d1\u4e86\u5783\u573e\u6536\u96c6\u5668\uff0c\u5c06\u5bfc\u81f4\u7ebf\u7a0b\u963b\u585e\u3002<\/p>\n\n\n\n<p>\u8fd9\u9879\u66f4\u6539\u56fa\u5b9a\u4e86 JNI \u4ee3\u7801\u4f7f\u7528\u7684\u5185\u5b58\u533a\u57df\uff0c\u4f46\u5141\u8bb8\u5728\u5176\u4ed6\u5185\u5b58\u533a\u57df\u79fb\u52a8\u5bf9\u8c61\u548c\u6536\u96c6\u5783\u573e\uff0c\u4ece\u800c\u4f7f G1 \u5783\u573e\u6536\u96c6\u5668\u5373\u4f7f\u5728\u7ebf\u7a0b\u5904\u4e8e\u5173\u952e\u533a\u57df\u65f6\u4ecd\u53ef\u8fd0\u884c\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/openjdk.org\/jeps\/458\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 458<\/strong><\/a><strong>\uff1a\u542f\u52a8\u591a\u6587\u4ef6\u6e90\u4ee3\u7801\u7a0b\u5e8f\u3002<\/strong>\u5728 JDK 11 \u4e2d\uff0cJEP 330 \u5f15\u5165\u4e86\u65e0\u9700\u7f16\u8bd1\u5373\u53ef\u76f4\u63a5\u8fd0\u884c\u5355\u4e2a\u6e90\u6587\u4ef6\u7684\u529f\u80fd\u3002\u8fd9\u4e0e\u4e0a\u6587 JEP 463 \u4e2d\u8ba8\u8bba\u7684\u7b80\u5316 Java \u5165\u95e8\u6709\u5173\u3002<\/p>\n\n\n\n<p>\u8be5 JEP \u589e\u5f3a\u4e86 Java \u5e94\u7528\u7a0b\u5e8f\u542f\u52a8\u5668\uff0c\u5141\u8bb8\u5176\u8fd0\u884c\u7531\u591a\u4e2a\uff08\u800c\u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a\uff09Java \u6e90\u4ee3\u7801\u6587\u4ef6\u7ec4\u6210\u7684\u7a0b\u5e8f\u3002\u5927\u591a\u6570\u5f00\u53d1\u4eba\u5458\u4f1a\u4f7f\u7528 IDE \u5f00\u53d1\u9879\u76ee\uff0c\u4f7f\u7528 jshell \u5b9e\u9a8c\u4ee3\u7801\u7247\u6bb5\u3002&nbsp;<\/p>\n\n\n\n<p>\u8fd9\u9879\u529f\u80fd\u5bf9\u4e8e\u521a\u5f00\u59cb\u5b66\u4e60 Java \u7f16\u7a0b\u7684\u4eba\u6700\u4e3a\u6709\u7528\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u7ed3\u8bba\">\u7ed3\u8bba<\/h2>\n\n\n\n<p>\u5982\u60a8\u6240\u89c1\uff0cJDK 22 \u6240\u542b\u65b0\u529f\u80fd\u7684\u6570\u91cf\u53ea\u662f\u8fbe\u5230\u4e86\u5e73\u5747\u6c34\u5e73\uff0c\u4f46\u5b83\u4eec\u5e26\u6765\u7684\u4ef7\u503c\u5374\u9ad8\u4e8e\u4e00\u822c\u6c34\u51c6\u3002Azul \u63d0\u4f9b\u4e86 Zulu OpenJDK \u793e\u533a\u7248\u7684\u514d\u8d39\u4e0b\u8f7d\uff0c\u60a8\u53ef\u4ee5\u5b89\u88c5\u548c\u8bd5\u9a8c\u3002\u4e0d\u59a8\u6765\u5c1d\u8bd5\u4e00\u4e0b\u5427\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\uff0cJava \u7684\u6700\u65b0\u7248\u672c JDK 22 \u5982\u540c\u539f\u5b50\u949f\u822c\u89c4\u5f8b\u5730\u5982\u7ea6\u800c\u81f3\u3002\u5c3d\u7ba1\u8fd9\u4e0d\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c [&hellip;]<\/p>\n","protected":false},"author":67,"featured_media":70446,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":true,"footnotes":""},"categories":[212,266],"tags":[100],"resource_categories":[],"industry":[],"product":[],"role":[],"resource_topic":[],"class_list":["post-71188","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-212","category-java-news-updates","tag-openjdk"],"acf":{"article_smart_summary":null,"article_sidebar_nav_items":null,"article_cta":null,"block_background_image":null,"block_background_image_sizing":null,"block_background_overflow":null,"block_background_color":null,"inline_link":null,"text_color":null,"block_margin_top":null,"block_padding_top":null,"block_padding_bottom":null,"block_margin_bottom":null,"link":null,"appearance":null,"color":null,"show_arrow":null,"style":null,"image":null,"background_color":null,"background_image":null,"overline":null,"overline_options":null,"headline":null,"headline_options":null,"description":null,"description_options":null,"cta":null,"text_align":null,"chart_type":null,"chart_options":null,"chart_labels":null,"chart_datasets":null,"countdown_date_time":null,"countdown_clock_color":null,"countdown_label_color":null,"size":null,"use_gradient_text":null,"start_color":null,"end_color":null,"name":null,"iconify":null,"logos":null,"form_headline":null,"form_number":null,"form_redirect_enabled":null,"redirect":null,"form_translation_disable":null,"zi_id":null,"zi_fields":null,"zi_lookup_field":null,"cookie_name":null,"cookie_redirect":null,"drift_playbook_campaign_id":null,"input":null,"button":null,"logo":null,"ctas":null,"alignment":null,"cta_alignment":null,"grid_layout":null,"show_featured_images":null,"show_excerpts":null,"featured_image_size":null,"cards":null,"thank_you_page_enable":null,"banner_image":null,"subheadline":null,"download_button":null,"featured_video":null,"additional_videos":null,"smart_content":null,"animation":null,"video_type":null,"vimeo_video_id":null,"youtube_video_id":null,"upload":null},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>JDK 22\uff0c\u4e00\u4e2a\uff08\u5728\u67d0\u79cd\u610f\u4e49\u4e0a\uff09\u5f88\u201c\u5e73\u5747\u201d\u7684\u7248\u672c - Azul | Better Java Performance, Superior Java Support<\/title>\n<meta name=\"description\" content=\"\u4eca\u5929\uff0cJava \u7684\u6700\u65b0\u7248\u672c JDK 22 \u5982\u540c\u539f\u5b50\u949f\u822c\u89c4\u5f8b\u5730\u5982\u7ea6\u800c\u81f3\u3002\u5c3d\u7ba1\u8fd9\u4e0d\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\uff0c\u4f46\u4e5f\u6ca1\u6709\u4ec0\u4e48\u7406\u7531\u963b\u6b62\u60a8\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\u5b83\uff0c\u800c\u4e14\uff0c\u5b83\u8fd8\u5305\u542b\u4e00\u4e9b\u503c\u5f97\u5173\u6ce8\u7684\u65b0\u529f\u80fd\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JDK 22\uff0c\u4e00\u4e2a\uff08\u5728\u67d0\u79cd\u610f\u4e49\u4e0a\uff09\u5f88\u201c\u5e73\u5747\u201d\u7684\u7248\u672c\" \/>\n<meta property=\"og:description\" content=\"\u4eca\u5929\uff0cJava \u7684\u6700\u65b0\u7248\u672c JDK 22 \u5982\u540c\u539f\u5b50\u949f\u822c\u89c4\u5f8b\u5730\u5982\u7ea6\u800c\u81f3\u3002\u5c3d\u7ba1\u8fd9\u4e0d\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\uff0c\u4f46\u4e5f\u6ca1\u6709\u4ec0\u4e48\u7406\u7531\u963b\u6b62\u60a8\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\u5b83\uff0c\u800c\u4e14\uff0c\u5b83\u8fd8\u5305\u542b\u4e00\u4e9b\u503c\u5f97\u5173\u6ce8\u7684\u65b0\u529f\u80fd\u3002 \u8ba9\u6211\u4eec\u6765\u6df1\u5165\u4e86\u89e3\u4e00\u4e0b\u8fd9\u4e2a\u7248\u672c\u6709\u4ec0\u4e48\u5185\u5bb9\u3002 Java \u5e73\u53f0\u7684\u65b0\u529f\u80fd\u662f\u901a\u8fc7 JDK \u589e\u5f3a\u63d0\u6848 (JEP) \u5b9a\u4e49\u7684\uff0cJDK\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/\" \/>\n<meta property=\"og:site_name\" content=\"Azul | Better Java Performance, Superior Java Support\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AzulSystemsInc\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-19T14:22:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-24T20:39:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.azul.com\/wp-content\/uploads\/2024-03-19-JDK22.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Azul\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@azulsystems\" \/>\n<meta name=\"twitter:site\" content=\"@azulsystems\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Azul\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-22-an-average-release-sort-of\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-22-an-average-release-sort-of\\\/\"},\"author\":{\"name\":\"Azul\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/#\\\/schema\\\/person\\\/e7c6bc11a12c8b60e08f7c9e4294d9cc\"},\"headline\":\"JDK 22\uff0c\u4e00\u4e2a\uff08\u5728\u67d0\u79cd\u610f\u4e49\u4e0a\uff09\u5f88\u201c\u5e73\u5747\u201d\u7684\u7248\u672c\",\"datePublished\":\"2024-03-19T14:22:25+00:00\",\"dateModified\":\"2024-04-24T20:39:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-22-an-average-release-sort-of\\\/\"},\"wordCount\":132,\"publisher\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-22-an-average-release-sort-of\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2024-03-19-JDK22.jpg\",\"keywords\":[\"OpenJDK\"],\"articleSection\":{\"1\":\"Java News &amp; Updates\"},\"inLanguage\":\"zh-CN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-22-an-average-release-sort-of\\\/\",\"url\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-22-an-average-release-sort-of\\\/\",\"name\":\"JDK 22\uff0c\u4e00\u4e2a\uff08\u5728\u67d0\u79cd\u610f\u4e49\u4e0a\uff09\u5f88\u201c\u5e73\u5747\u201d\u7684\u7248\u672c - Azul | Better Java Performance, Superior Java Support\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-22-an-average-release-sort-of\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-22-an-average-release-sort-of\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2024-03-19-JDK22.jpg\",\"datePublished\":\"2024-03-19T14:22:25+00:00\",\"dateModified\":\"2024-04-24T20:39:48+00:00\",\"description\":\"\u4eca\u5929\uff0cJava \u7684\u6700\u65b0\u7248\u672c JDK 22 \u5982\u540c\u539f\u5b50\u949f\u822c\u89c4\u5f8b\u5730\u5982\u7ea6\u800c\u81f3\u3002\u5c3d\u7ba1\u8fd9\u4e0d\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\uff0c\u4f46\u4e5f\u6ca1\u6709\u4ec0\u4e48\u7406\u7531\u963b\u6b62\u60a8\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\u5b83\uff0c\u800c\u4e14\uff0c\u5b83\u8fd8\u5305\u542b\u4e00\u4e9b\u503c\u5f97\u5173\u6ce8\u7684\u65b0\u529f\u80fd\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-22-an-average-release-sort-of\\\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-22-an-average-release-sort-of\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-22-an-average-release-sort-of\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2024-03-19-JDK22.jpg\",\"contentUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2024-03-19-JDK22.jpg\",\"width\":1280,\"height\":500,\"caption\":\"JDK 22, an Average Release (Sort of)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-22-an-average-release-sort-of\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JDK 22\uff0c\u4e00\u4e2a\uff08\u5728\u67d0\u79cd\u610f\u4e49\u4e0a\uff09\u5f88\u201c\u5e73\u5747\u201d\u7684\u7248\u672c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/#website\",\"url\":\"https:\\\/\\\/www.azul.com\\\/\",\"name\":\"Azul | Better Java Performance, Superior Java Support\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.azul.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/#organization\",\"name\":\"Azul\",\"alternateName\":\"Azul Systems\",\"url\":\"https:\\\/\\\/www.azul.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/logo.svg\",\"contentUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/logo.svg\",\"width\":112,\"height\":48,\"caption\":\"Azul\"},\"image\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/AzulSystemsInc\",\"https:\\\/\\\/x.com\\\/azulsystems\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCSoJZa--HhjV9iXtbHUmm8A\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/azul-systems\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/#\\\/schema\\\/person\\\/e7c6bc11a12c8b60e08f7c9e4294d9cc\",\"name\":\"Azul\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/912c7dc23d8fa438d3afa3d4c516899dda8a80ebd3ec210d64ceff726f84f3ce?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/912c7dc23d8fa438d3afa3d4c516899dda8a80ebd3ec210d64ceff726f84f3ce?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/912c7dc23d8fa438d3afa3d4c516899dda8a80ebd3ec210d64ceff726f84f3ce?s=96&d=mm&r=g\",\"caption\":\"Azul\"},\"url\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/author\\\/azul\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"JDK 22\uff0c\u4e00\u4e2a\uff08\u5728\u67d0\u79cd\u610f\u4e49\u4e0a\uff09\u5f88\u201c\u5e73\u5747\u201d\u7684\u7248\u672c - Azul | Better Java Performance, Superior Java Support","description":"\u4eca\u5929\uff0cJava \u7684\u6700\u65b0\u7248\u672c JDK 22 \u5982\u540c\u539f\u5b50\u949f\u822c\u89c4\u5f8b\u5730\u5982\u7ea6\u800c\u81f3\u3002\u5c3d\u7ba1\u8fd9\u4e0d\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\uff0c\u4f46\u4e5f\u6ca1\u6709\u4ec0\u4e48\u7406\u7531\u963b\u6b62\u60a8\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\u5b83\uff0c\u800c\u4e14\uff0c\u5b83\u8fd8\u5305\u542b\u4e00\u4e9b\u503c\u5f97\u5173\u6ce8\u7684\u65b0\u529f\u80fd\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/","og_locale":"zh_CN","og_type":"article","og_title":"JDK 22\uff0c\u4e00\u4e2a\uff08\u5728\u67d0\u79cd\u610f\u4e49\u4e0a\uff09\u5f88\u201c\u5e73\u5747\u201d\u7684\u7248\u672c","og_description":"\u4eca\u5929\uff0cJava \u7684\u6700\u65b0\u7248\u672c JDK 22 \u5982\u540c\u539f\u5b50\u949f\u822c\u89c4\u5f8b\u5730\u5982\u7ea6\u800c\u81f3\u3002\u5c3d\u7ba1\u8fd9\u4e0d\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\uff0c\u4f46\u4e5f\u6ca1\u6709\u4ec0\u4e48\u7406\u7531\u963b\u6b62\u60a8\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\u5b83\uff0c\u800c\u4e14\uff0c\u5b83\u8fd8\u5305\u542b\u4e00\u4e9b\u503c\u5f97\u5173\u6ce8\u7684\u65b0\u529f\u80fd\u3002 \u8ba9\u6211\u4eec\u6765\u6df1\u5165\u4e86\u89e3\u4e00\u4e0b\u8fd9\u4e2a\u7248\u672c\u6709\u4ec0\u4e48\u5185\u5bb9\u3002 Java \u5e73\u53f0\u7684\u65b0\u529f\u80fd\u662f\u901a\u8fc7 JDK \u589e\u5f3a\u63d0\u6848 (JEP) \u5b9a\u4e49\u7684\uff0cJDK","og_url":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/","og_site_name":"Azul | Better Java Performance, Superior Java Support","article_publisher":"https:\/\/www.facebook.com\/AzulSystemsInc","article_published_time":"2024-03-19T14:22:25+00:00","article_modified_time":"2024-04-24T20:39:48+00:00","og_image":[{"width":1280,"height":500,"url":"https:\/\/www.azul.com\/wp-content\/uploads\/2024-03-19-JDK22.jpg","type":"image\/jpeg"}],"author":"Azul","twitter_card":"summary_large_image","twitter_creator":"@azulsystems","twitter_site":"@azulsystems","twitter_misc":{"\u4f5c\u8005":"Azul","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/#article","isPartOf":{"@id":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/"},"author":{"name":"Azul","@id":"https:\/\/www.azul.com\/#\/schema\/person\/e7c6bc11a12c8b60e08f7c9e4294d9cc"},"headline":"JDK 22\uff0c\u4e00\u4e2a\uff08\u5728\u67d0\u79cd\u610f\u4e49\u4e0a\uff09\u5f88\u201c\u5e73\u5747\u201d\u7684\u7248\u672c","datePublished":"2024-03-19T14:22:25+00:00","dateModified":"2024-04-24T20:39:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/"},"wordCount":132,"publisher":{"@id":"https:\/\/www.azul.com\/#organization"},"image":{"@id":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/#primaryimage"},"thumbnailUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2024-03-19-JDK22.jpg","keywords":["OpenJDK"],"articleSection":{"1":"Java News &amp; Updates"},"inLanguage":"zh-CN"},{"@type":"WebPage","@id":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/","url":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/","name":"JDK 22\uff0c\u4e00\u4e2a\uff08\u5728\u67d0\u79cd\u610f\u4e49\u4e0a\uff09\u5f88\u201c\u5e73\u5747\u201d\u7684\u7248\u672c - Azul | Better Java Performance, Superior Java Support","isPartOf":{"@id":"https:\/\/www.azul.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/#primaryimage"},"image":{"@id":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/#primaryimage"},"thumbnailUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2024-03-19-JDK22.jpg","datePublished":"2024-03-19T14:22:25+00:00","dateModified":"2024-04-24T20:39:48+00:00","description":"\u4eca\u5929\uff0cJava \u7684\u6700\u65b0\u7248\u672c JDK 22 \u5982\u540c\u539f\u5b50\u949f\u822c\u89c4\u5f8b\u5730\u5982\u7ea6\u800c\u81f3\u3002\u5c3d\u7ba1\u8fd9\u4e0d\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\uff0c\u4f46\u4e5f\u6ca1\u6709\u4ec0\u4e48\u7406\u7531\u963b\u6b62\u60a8\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\u5b83\uff0c\u800c\u4e14\uff0c\u5b83\u8fd8\u5305\u542b\u4e00\u4e9b\u503c\u5f97\u5173\u6ce8\u7684\u65b0\u529f\u80fd\u3002","breadcrumb":{"@id":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/"]}]},{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/#primaryimage","url":"https:\/\/www.azul.com\/wp-content\/uploads\/2024-03-19-JDK22.jpg","contentUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2024-03-19-JDK22.jpg","width":1280,"height":500,"caption":"JDK 22, an Average Release (Sort of)"},{"@type":"BreadcrumbList","@id":"https:\/\/www.azul.com\/blog\/jdk-22-an-average-release-sort-of\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.azul.com\/zh-hans\/"},{"@type":"ListItem","position":2,"name":"JDK 22\uff0c\u4e00\u4e2a\uff08\u5728\u67d0\u79cd\u610f\u4e49\u4e0a\uff09\u5f88\u201c\u5e73\u5747\u201d\u7684\u7248\u672c"}]},{"@type":"WebSite","@id":"https:\/\/www.azul.com\/#website","url":"https:\/\/www.azul.com\/","name":"Azul | Better Java Performance, Superior Java Support","description":"","publisher":{"@id":"https:\/\/www.azul.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.azul.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-CN"},{"@type":"Organization","@id":"https:\/\/www.azul.com\/#organization","name":"Azul","alternateName":"Azul Systems","url":"https:\/\/www.azul.com\/","logo":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/www.azul.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.azul.com\/wp-content\/uploads\/2021\/01\/logo.svg","contentUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2021\/01\/logo.svg","width":112,"height":48,"caption":"Azul"},"image":{"@id":"https:\/\/www.azul.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/AzulSystemsInc","https:\/\/x.com\/azulsystems","https:\/\/www.youtube.com\/channel\/UCSoJZa--HhjV9iXtbHUmm8A","https:\/\/www.linkedin.com\/company\/azul-systems"]},{"@type":"Person","@id":"https:\/\/www.azul.com\/#\/schema\/person\/e7c6bc11a12c8b60e08f7c9e4294d9cc","name":"Azul","image":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/secure.gravatar.com\/avatar\/912c7dc23d8fa438d3afa3d4c516899dda8a80ebd3ec210d64ceff726f84f3ce?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/912c7dc23d8fa438d3afa3d4c516899dda8a80ebd3ec210d64ceff726f84f3ce?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/912c7dc23d8fa438d3afa3d4c516899dda8a80ebd3ec210d64ceff726f84f3ce?s=96&d=mm&r=g","caption":"Azul"},"url":"https:\/\/www.azul.com\/zh-hans\/blog\/author\/azul\/"}]}},"_links":{"self":[{"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/posts\/71188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/users\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=71188"}],"version-history":[{"count":0,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/posts\/71188\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/media\/70446"}],"wp:attachment":[{"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=71188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=71188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=71188"},{"taxonomy":"resource_categories","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/resource_categories?post=71188"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/industry?post=71188"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/product?post=71188"},{"taxonomy":"role","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/role?post=71188"},{"taxonomy":"resource_topic","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/resource_topic?post=71188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}