{"id":154183,"date":"2019-08-27T12:31:15","date_gmt":"2019-08-27T04:31:15","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=154183"},"modified":"2019-08-12T17:33:26","modified_gmt":"2019-08-12T09:33:26","slug":"java-in-rdp","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/java-in-rdp.html","title":{"rendered":"Java 13\u8fdb\u5165RDP\u65f6\u4ee3\uff0c\u5177\u4f53\u6709\u54ea\u4e9b\u65b0\u7279\u6027\uff1f"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nJava 13\uff08JDK 13\uff09\u76ee\u524d\u5df2\u7ecf\u8fdb\u5165\u4e86 Rampdown Phase One\uff08RDP 1\uff09\u72b6\u6001\uff0c\u8be5\u72b6\u6001\u610f\u5473\u7740\u7279\u6027\u5df2\u7ecf\u51bb\u7ed3\uff0c\u63a5\u4e0b\u6765\u5f00\u542f\u7a33\u5b9a\u7248\u672c\u5e93\uff0c\u5e76\u4e3b\u8981\u8fdb\u884c bug \u4fee\u590d\u4e0e\u529f\u80fd\u589e\u5f3a\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u6309\u7167\u751f\u547d\u5468\u671f\uff0cGA \u7248\u672c\u5c06\u4e8e 9 \u6708 17 \u65e5\u53d1\u5e03\u3002\u5173\u4e8e JDK \u7684\u53d1\u5e03\u6d41\u7a0b\u5177\u4f53\u5185\u5bb9\uff0c\u53ef\u4ee5\u67e5\u770b\uff1ahttp:\/\/openjdk.java.net\/jeps\/3\u3002<\/p>\n

\u4e0b\u8fb9\u770b\u770b JDK 13 \u4e2d\u4f1a\u5e26\u6765\u54ea\u4e9b\u65b0\u7279\u6027\uff1a<\/p>\n

JEP 350\uff0cDynamic CDS Archives\uff1a\u6269\u5c55\u5e94\u7528\u7a0b\u5e8f\u7c7b-\u6570\u636e\u5171\u4eab\uff0c\u4ee5\u5141\u8bb8\u5728 Java \u5e94\u7528\u7a0b\u5e8f\u6267\u884c\u7ed3\u675f\u65f6\u52a8\u6001\u5f52\u6863\u7c7b\u3002\u5f52\u6863\u7c7b\u5c06\u5305\u62ec\u9ed8\u8ba4\u7684\u57fa\u7840\u5c42 CDS\uff08class data-sharing\uff09\u5b58\u6863\u4e2d\u4e0d\u5b58\u5728\u7684\u6240\u6709\u5df2\u52a0\u8f7d\u7684\u5e94\u7528\u7a0b\u5e8f\u7c7b\u548c\u5e93\u7c7b\u3002<\/p>\n

JEP 351\uff0cZGC: Uncommit Unused Memory\uff1a\u589e\u5f3a ZGC \u4ee5\u5c06\u672a\u4f7f\u7528\u7684\u5806\u5185\u5b58\u8fd4\u56de\u7ed9\u64cd\u4f5c\u7cfb\u7edf\u3002<\/p>\n

JEP 353\uff0cReimplement the Legacy Socket API\uff1a\u4f7f\u7528\u6613\u4e8e\u7ef4\u62a4\u548c\u8c03\u8bd5\u7684\u66f4\u7b80\u5355\u3001\u66f4\u73b0\u4ee3\u7684\u5b9e\u73b0\u66ff\u6362 java.net.Socket \u548c java.net.ServerSocket API \u4f7f\u7528\u7684\u5e95\u5c42\u5b9e\u73b0\u3002<\/p>\n

JEP 354: Switch Expressions (Preview)\uff1a\u53ef\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\u7684 switch \u8868\u8fbe\u5f0f\uff0cJDK 13 \u4e2d\u5c06\u5e26\u6765\u4e00\u4e2a beta \u7248\u672c\u5b9e\u73b0\u3002switch \u8868\u8fbe\u5f0f\u6269\u5c55\u4e86 switch \u8bed\u53e5\uff0c\u4f7f\u5176\u4e0d\u4ec5\u53ef\u4ee5\u4f5c\u4e3a\u8bed\u53e5\uff08statement\uff09\uff0c\u8fd8\u53ef\u4ee5\u4f5c\u4e3a\u8868\u8fbe\u5f0f\uff08expression\uff09\uff0c\u5e76\u4e14\u4e24\u79cd\u5199\u6cd5\u90fd\u53ef\u4ee5\u4f7f\u7528\u4f20\u7edf\u7684 switch \u8bed\u6cd5\uff0c\u6216\u8005\u4f7f\u7528\u7b80\u5316\u7684\u201ccase L ->\u201d\u6a21\u5f0f\u5339\u914d\u8bed\u6cd5\u4f5c\u7528\u4e8e\u4e0d\u540c\u8303\u56f4\u5e76\u63a7\u5236\u6267\u884c\u6d41\u3002\u8fd9\u4e9b\u66f4\u6539\u5c06\u7b80\u5316\u65e5\u5e38\u7f16\u7801\u5de5\u4f5c\uff0c\u5e76\u4e3a switch \u4e2d\u7684\u6a21\u5f0f\u5339\u914d\uff08JEP 305\uff09\u505a\u597d\u51c6\u5907\u3002<\/p>\n

JEP 355\uff0cText Blocks (Preview)\uff1a\u5c06\u6587\u672c\u5757\u6dfb\u52a0\u5230 Java \u8bed\u8a00\u3002\u6587\u672c\u5757\u662f\u4e00\u4e2a\u591a\u884c\u5b57\u7b26\u4e32\u6587\u5b57\uff0c\u5b83\u907f\u514d\u4e86\u5bf9\u5927\u591a\u6570\u8f6c\u4e49\u5e8f\u5217\u7684\u9700\u8981\uff0c\u4ee5\u53ef\u9884\u6d4b\u7684\u65b9\u5f0f\u81ea\u52a8\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\uff0c\u5e76\u5728\u9700\u8981\u65f6\u8ba9\u5f00\u53d1\u4eba\u5458\u63a7\u5236\u683c\u5f0f\u3002<\/p>\n

\u8be6\u60c5\u67e5\u770b\uff1ahttp:\/\/openjdk.java.net\/projects\/jdk\/13<\/p>\n","protected":false},"excerpt":{"rendered":"

\u6309\u7167\u751f\u547d\u5468\u671f\uff0cGA \u7248\u672c\u5c06\u4e8e 9 \u6708 17 \u65e5\u53d1\u5e03\u3002\u5173\u4e8e JDK \u7684\u53d1\u5e03\u6d41\u7a0b\u5177\u4f53\u5185\u5bb9\uff0c\u53ef\u4ee5\u67e5\u770b\uff1ahttp:\/\/ […]<\/p>\n","protected":false},"author":1479,"featured_media":154191,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-154183","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/154183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1479"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=154183"}],"version-history":[{"count":5,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/154183\/revisions"}],"predecessor-version":[{"id":154403,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/154183\/revisions\/154403"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/154191"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=154183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=154183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=154183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}