{"id":105142,"date":"2022-09-20T21:36:59","date_gmt":"2022-09-20T19:36:59","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-java-se-19"},"modified":"2022-09-20T21:36:59","modified_gmt":"2022-09-20T19:36:59","slug":"vypusk-java-se-19","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/vypusk-java-se-19","title":{"rendered":"Megjelent a Java SE 19","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Hat h\u00f3napnyi fejleszt\u00e9s ut\u00e1n az Oracle bemutatta a Java SE 19 (Java Platform, Standard Edition 19) platformot, amelynek referencia-implement\u00e1ci\u00f3ja az OpenJDK ny\u00edlt projekt. Kiv\u00e9ve n\u00e9h\u00e1ny elavult funkci\u00f3 elt\u00e1vol\u00edt\u00e1s\u00e1t, a Java SE 19 meg\u0151rzi a visszafel\u00e9 kompatibilit\u00e1st a kor\u00e1bbi Java platform kiad\u00e1sokkal \u2013 a kor\u00e1bban \u00edrt Java-projektek t\u00f6bbs\u00e9ge m\u00f3dos\u00edt\u00e1s n\u00e9lk\u00fcl futtathat\u00f3 az \u00faj verzi\u00f3 alatt. Az install\u00e1l\u00e1sra k\u00e9sz Java SE 19 (JDK, JRE \u00e9s Server JRE) kiad\u00e1sok el\u00e9rhet\u0151k Linuxhoz (x86_64, AArch64), Windows-hoz (x86_64) \u00e9s macOS-hoz (x86_64, AArch64). Az OpenJDK projekt keret\u00e9ben kifejlesztett Java 19 referencia-implement\u00e1ci\u00f3ja teljes m\u00e9rt\u00e9kben ny\u00edlt, GPLv2 licenc alatt, GNU ClassPath kiv\u00e9telekkel, amelyek lehet\u0151v\u00e9 teszik a dinamikus linkel\u00e9st kereskedelmi term\u00e9kekkel.     <\/p>\n<p>A Java SE 19 a norm\u00e1l t\u00e1mogat\u00e1si id\u0151szakkal rendelkez\u0151 kiad\u00e1sok k\u00f6z\u00e9 tartozik, amelynek friss\u00edt\u00e9sei a k\u00f6vetkez\u0151 kiad\u00e1sig fognak megjelenni. Hossz\u00fa t\u00e1v\u00fa t\u00e1mogat\u00e1ssal (LTS) rendelkez\u0151 \u00e1gnak a Java SE 17-et kell haszn\u00e1lni, amelynek friss\u00edt\u00e9sei 2029-ig fognak megjelenni. Eml\u00e9kezz\u00fcnk, hogy a Java 10 kiad\u00e1st\u00f3l kezdve a projekt \u00faj fejleszt\u00e9si folyamatra v\u00e1ltott, amely r\u00f6videbb \u00faj kiad\u00e1si ciklusokat jelentett. Az \u00faj funkcionalit\u00e1sok mostant\u00f3l egy folyamatosan friss\u00edtett master \u00e1gon fejl\u0151dnek, amelybe m\u00e1r k\u00e9sz v\u00e1ltoztat\u00e1sok ker\u00fclnek be, \u00e9s amelyb\u0151l hat havonta stabiliz\u00e1l\u00f3 \u00e1gak \u00e1gaznak ki az \u00faj kiad\u00e1sokhoz.     <\/p>\n<p>A Java 19 \u00fajdons\u00e1gai k\u00f6z\u00fcl \u00e9rdemes megeml\u00edteni:  <\/p>\n<ul>\n<li class=\"l\"> El\u0151zetes t\u00e1mogat\u00e1s javasolt a rekord mint\u00e1khoz (record pattern), amely kiterjeszti a Java 16-ban megjelent mint\u00e1z\u00e1s lehet\u0151s\u00e9g\u00e9t a record t\u00edpus\u00fa oszt\u00e1lyok \u00e9rt\u00e9keinek elemz\u00e9s\u00e9re. P\u00e9ld\u00e1ul:       record Point(int x, int y) {}       void printSum(Object o) {         if (o instanceof Point(int x, int y)) {             System.out.println(x+y);         }     }\n<li class=\"l\"> A Linux kiad\u00e1sokban t\u00e1mogat\u00e1st ny\u00fajtanak a RISC-V architekt\u00far\u00e1hoz.\n<li class=\"l\"> El\u0151zetes t\u00e1mogat\u00e1s ker\u00fclt bevezet\u00e9sre a FFM (Foreign Function &amp; Memory) API-hoz, amely lehet\u0151v\u00e9 teszi a Java programok \u00e9s k\u00fcls\u0151 k\u00f3dok, adatok k\u00f6z\u00f6tti interakci\u00f3t, k\u00fcls\u0151 k\u00f6nyvt\u00e1rakb\u00f3l sz\u00e1rmaz\u00f3 f\u00fcggv\u00e9nyek megh\u00edv\u00e1s\u00e1val \u00e9s a JVM-en k\u00edv\u00fcli mem\u00f3ria el\u00e9r\u00e9s\u00e9vel.\n<li class=\"l\"> Bevezet\u00e9sre ker\u00fclt a virtu\u00e1lis sz\u00e1lak t\u00e1mogat\u00e1sa, amelyek k\u00f6nny\u0171 sz\u00e1lak, jelent\u0151sen megk\u00f6nny\u00edtve a nagy teljes\u00edtm\u00e9ny\u0171, t\u00f6bb sz\u00e1l\u00fa alkalmaz\u00e1sok \u00edr\u00e1s\u00e1t \u00e9s karbantart\u00e1s\u00e1t.\n<li class=\"l\"> Javaslatot tett\u00fcnk a Vector API negyedik el\u0151zetes megval\u00f3s\u00edt\u00e1s\u00e1ra, amely vektorsz\u00e1m\u00edt\u00e1si funkci\u00f3kat biztos\u00edt, amiket az x86_64 \u00e9s AArch64 processzorok vektorelt\u00e9r\u00e9si utas\u00edt\u00e1sainak felhaszn\u00e1l\u00e1s\u00e1val hajtanak v\u00e9gre, \u00e9s lehet\u0151v\u00e9 teszik, hogy egyszerre v\u00e9gezz\u00fcnk m\u0171veleteket t\u00f6bb \u00e9rt\u00e9ken (SIMD). Ezzel szemben a HotSpot JIT-kompiler \u00e1ltal ny\u00fajtott autovektoriz\u00e1l\u00e1s lehet\u0151s\u00e9geivel, az \u00faj API kifejezett ir\u00e1ny\u00edt\u00e1st ad a vektoriz\u00e1ci\u00f3 felett az adatok p\u00e1rhuzamos feldolgoz\u00e1s\u00e1hoz.\n<li class=\"l\"> Harmadik k\u00eds\u00e9rleti implement\u00e1ci\u00f3 ker\u00fclt bevezet\u00e9sre a &#171;switch&#187; kifejez\u00e9sekben a mint\u00e1zatilleszt\u00e9shez, amely lehet\u0151v\u00e9 teszi, hogy a &#171;case&#187; c\u00edmk\u00e9kben ne pontos \u00e9rt\u00e9keket, hanem rugalmas mint\u00e1kat haszn\u00e1ljunk, amelyek t\u00f6bb \u00e9rt\u00e9k sorozat\u00e1t \u00f6lelik fel, \u00edgy a kor\u00e1bban neh\u00e9zkes &#171;if...else&#187; kifejez\u00e9sek helyett alkalmazhat\u00f3k.          Object o = 123L;     String formatted = switch (o) {         case Integer i -&gt; String.format(&#171;int %d&#187;, i);         case Long l    -&gt; String.format(&#171;long %d&#187;, l);         case Double d  -&gt; String.format(&#171;double %f&#187;, d);         case String s  -&gt; String.format(&#171;String %s&#187;, s);         default        -&gt; o.toString();     };\n<li class=\"l\"> K\u00eds\u00e9rleti API ker\u00fclt hozz\u00e1ad\u00e1sra a struktur\u00e1lt p\u00e1rhuzamoss\u00e1ghoz, amely megk\u00f6nny\u00edti a t\u00f6bb sz\u00e1lon fut\u00f3 alkalmaz\u00e1sok fejleszt\u00e9s\u00e9t az\u00e1ltal, hogy t\u00f6bb, k\u00fcl\u00f6nb\u00f6z\u0151 sz\u00e1lon v\u00e9grehajtott feladatot egyetlen blokkk\u00e9nt kezel.          <\/ul>\n<p>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=57808\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u043b\u0435 \u0448\u0435\u0441\u0442\u0438 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Oracle \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 Java SE 19 (Java Platform, Standard Edition 19), \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u044d\u0442\u0430\u043b\u043e\u043d\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 OpenJDK. \u0417\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 Java SE 19 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u0441 \u043f\u0440\u043e\u0448\u043b\u044b\u043c\u0438 \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u043c\u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Java &#8212; \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0440\u0430\u043d\u0435\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 Java-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043f\u043e\u0434 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-105142","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u043e\u0441\u043b\u0435 \u0448\u0435\u0441\u0442\u0438 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Oracle \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 Java SE 19 (Java Platform, Standard Edition 19), \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u044d\u0442\u0430\u043b\u043e\u043d\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 OpenJDK.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/vypusk-java-se-19\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a Java SE 19 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u043e\u0441\u043b\u0435 \u0448\u0435\u0441\u0442\u0438 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Oracle \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 Java SE 19 (Java Platform, Standard Edition 19), \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u044d\u0442\u0430\u043b\u043e\u043d\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 OpenJDK.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/vypusk-java-se-19\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-09-20T19:36:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-09-20T19:36:59+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Java SE 19 kiad\u00e1s | ProHoster","description":"Hat h\u00f3nap fejleszt\u00e9st k\u00f6vet\u0151en az Oracle kiadta a Java SE 19 platformot (Java Platform, Standard Edition 19), amelynek referencia megval\u00f3s\u00edt\u00e1sa az OpenJDK ny\u00edlt projekt.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/vypusk-java-se-19","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a Java SE 19 | ProHoster","og:description":"\u041f\u043e\u0441\u043b\u0435 \u0448\u0435\u0441\u0442\u0438 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Oracle \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 Java SE 19 (Java Platform, Standard Edition 19), \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u044d\u0442\u0430\u043b\u043e\u043d\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 OpenJDK.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/vypusk-java-se-19","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2022-09-20T19:36:59+00:00","article:modified_time":"2022-09-20T19:36:59+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/105142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=105142"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/105142\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=105142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=105142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=105142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}