{"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\/sq\/blog\/news\/vypusk-java-se-19","title":{"rendered":"L\u00ebshimi i Java SE 19","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Pas sechs muajsh zhvillimi, kompania Oracle publikoi platform\u00ebn Java SE 19 (Java Platform, Standard Edition 19), si implementimin referenc\u00eb t\u00eb s\u00eb cil\u00ebs p\u00ebrdoret projekti i hapur OpenJDK. P\u00ebrve\u00e7 heqjes s\u00eb disa mund\u00ebsive t\u00eb vjetra, Java SE 19 ruan p\u00ebrputhshm\u00ebrin\u00eb me versione t\u00eb m\u00ebparshme t\u00eb platform\u00ebs Java \u2014 shumica e projekteve Java t\u00eb shkruara m\u00eb par\u00eb do t\u00eb funksionojn\u00eb pa asnj\u00eb ndryshim kur aktivizohen n\u00ebn versionin e ri. Nd\u00ebrtimet gatishm\u00ebri p\u00ebr instalim t\u00eb Java SE 19 (JDK, JRE dhe Server JRE) jan\u00eb p\u00ebrgatitur p\u00ebr Linux (x86_64, AArch64), Windows (x86_64) dhe macOS (x86_64, AArch64). Implementimi referenc\u00eb i Java 19, zhvilluar brenda projektit OpenJDK, \u00ebsht\u00eb plot\u00ebsisht i hapur n\u00ebn licenc\u00ebn GPLv2 me p\u00ebrjashtime nga GNU ClassPath, t\u00eb cilat lejojn\u00eb lidhje dinamike me Produkte komerciale.     <\/p>\n<p>Java SE 19 \u00ebsht\u00eb klasifikuar si nj\u00eb version me mb\u00ebshtetje t\u00eb zakonshme, p\u00ebr t\u00eb cilin p\u00ebrdit\u00ebsimet do t\u00eb l\u00ebshohen deri n\u00eb lansimin e ardhsh\u00ebm. Si deg\u00eb me mb\u00ebshtetje afatgjat\u00eb (LTS) duhet t\u00eb p\u00ebrdoret Java SE 17, p\u00ebrdit\u00ebsimet e t\u00eb cil\u00ebs do t\u00eb l\u00ebshohen deri n\u00eb vitin 2029. Kujtojm\u00eb se, q\u00eb nga l\u00ebshimi i Java 10, projekti kaloi n\u00eb nj\u00eb proces t\u00eb ri zhvillimi, q\u00eb n\u00ebnkupton nj\u00eb cik\u00ebl m\u00eb t\u00eb shkurt\u00ebr p\u00ebr formimin e l\u00ebshimeve t\u00eb reja. funksionaliteti i ri tani zhvillohet n\u00eb nj\u00eb deg\u00eb master q\u00eb p\u00ebrdit\u00ebsohet vazhdimisht, n\u00eb t\u00eb cilin p\u00ebrfshihen ndryshime t\u00eb gatshme dhe nga e cila ndahen deg\u00eb p\u00ebr stabilizimin e l\u00ebshimeve t\u00eb reja \u00e7do gjasht\u00eb muaj.     <\/p>\n<p>Nga novitetet e Java 19 mund t\u00eb p\u00ebrmenden:  <\/p>\n<ul>\n<li class=\"l\"> \u00cbsht\u00eb propozuar mb\u00ebshtetje preliminare p\u00ebr shabllonet e regjistrave (record pattern), q\u00eb zgjeron mund\u00ebsin\u00eb e futur n\u00eb Java 16 p\u00ebr p\u00ebrputhshm\u00ebrin\u00eb me modelet p\u00ebrmes mjeteve p\u00ebr analizimin e vlerave t\u00eb klasave t\u00eb tipit record. P\u00ebr shembull:       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\"> N\u00eb nd\u00ebrtimet p\u00ebr Linux \u00ebsht\u00eb siguruar mb\u00ebshtetje p\u00ebr arkitektur\u00ebn RISC-V.\n<li class=\"l\"> \u00cbsht\u00eb shtuar mb\u00ebshtetje e paravendosur p\u00ebr API FFM (Foreign Function &amp; Memory), i cili mund\u00ebson nd\u00ebrveprimin e programeve Java me kode t\u00eb jashtme dhe t\u00eb dh\u00ebna p\u00ebrmes thirrjes s\u00eb funksioneve nga biblioteka t\u00eb jashtme dhe qasje n\u00eb memorie jasht\u00eb JVM.\n<li class=\"l\"> \u00cbsht\u00eb shtuar mb\u00ebshtetje p\u00ebr rrjedhat virtuale, q\u00eb p\u00ebrfaq\u00ebsojn\u00eb rrjedha t\u00eb lehta, duke e b\u00ebr\u00eb shum\u00eb m\u00eb t\u00eb leht\u00eb shkruan dhe mbajtur aplikacione shum\u00ebthjeshtore me performanc\u00eb t\u00eb lart\u00eb.\n<li class=\"l\"> P\u00ebr versionin e kat\u00ebrt t\u00eb API Vector \u00ebsht\u00eb ofruar nj\u00eb implementim paraprak, q\u00eb ofron funksione p\u00ebr llogaritjet vektoriale, t\u00eb cilat kryhen n\u00ebp\u00ebrmjet instruksioneve vektoriale t\u00eb procesor\u00ebve x86_64 dhe AArch64, dhe lejon aplikimin e operacioneve nj\u00ebher\u00ebsh ndaj disa vlerave (SIMD). Ndryshe nga mund\u00ebsit\u00eb e avtokompilimit t\u00eb operacioneve skalar\u00eb q\u00eb ofrohen nga JIT-kompilatori HotSpot, API i ri lejon menaxhimin e qart\u00eb t\u00eb vektorizimit p\u00ebr p\u00ebrpunimin paralel t\u00eb t\u00eb dh\u00ebnave.\n<li class=\"l\"> \u00cbsht\u00eb shtuar nj\u00eb implementim eksperimentar i tret\u00eb p\u00ebr p\u00ebrshtatjen sipas shabllonit n\u00eb shprehjet \"switch\", q\u00eb lejon n\u00eb etiketat \"case\" t\u00eb p\u00ebrdoren jo vet\u00ebm vlera t\u00eb sakta, por edhe shabllone fleksib\u00ebl q\u00eb p\u00ebrfshijn\u00eb nj\u00eb seri vlerash, p\u00ebr t\u00eb cilat m\u00eb par\u00eb duhet t\u00eb ishin p\u00ebrdorur zinxhir\u00eb t\u00eb v\u00ebshtir\u00eb shprehjesh \"if...else\". Object o = 123L; String formatted = switch (o) { case Integer i -&gt; String.format(\"int %d\", i); case Long l -&gt; String.format(\"long %d\", l); case Double d -&gt; String.format(\"double %f\", d); case String s -&gt; String.format(\"String %s\", s); default -&gt; o.toString(); };\n<li class=\"l\"> Nj\u00eb API eksperimental p\u00ebr paralelizmin e strukturuar \u00ebsht\u00eb shtuar, duke thjeshtuar zhvillimin e aplikacioneve me shum\u00eb thread, duke trajtuar disa detyra t\u00eb kryera n\u00eb thread t\u00eb ndryshme si nj\u00eb blok t\u00eb vet\u00ebm.          <\/ul>\n<p>Burimi: <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.2 - 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\/sq\/blog\/news\/vypusk-java-se-19\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\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\/sq\/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\udd47L\u00ebshimi i Java SE 19 | ProHoster","description":"Pas gjasht\u00eb muajsh zhvillimi, Oracle publikoi platform\u00ebn Java SE 19 (Java Platform, Standard Edition 19), me projektin e hapur OpenJDK si implementimin referenc\u00eb.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/news\/vypusk-java-se-19","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","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\/sq\/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\/sq\/wp-json\/wp\/v2\/posts\/105142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=105142"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/105142\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=105142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=105142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=105142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}