mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

741
active users

#java11

0 posts0 participants0 posts today
Digital Human ✔<p>Belangrijke update verhelpt rce-kwetsbaarheid in apache hugegraph-server <a href="https://www.trendingtech.news/trending-news/2024/07/22861/belangrijke-update-verhelpt-rce-kwetsbaarheid-in-apache-hugegraph-server" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">trendingtech.news/trending-new</span><span class="invisible">s/2024/07/22861/belangrijke-update-verhelpt-rce-kwetsbaarheid-in-apache-hugegraph-server</span></a> <a href="https://mastodon.social/tags/CVE" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CVE</span></a>-2024-27348 <a href="https://mastodon.social/tags/Apache" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Apache</span></a> HugeGraph-Server <a href="https://mastodon.social/tags/RCE" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RCE</span></a> kwetsbaarheid <a href="https://mastodon.social/tags/beveiligingsupdate" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>beveiligingsupdate</span></a> <a href="https://mastodon.social/tags/Java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> authenticatiesysteem <a href="https://mastodon.social/tags/Trending" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Trending</span></a> <a href="https://mastodon.social/tags/News" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>News</span></a> <a href="https://mastodon.social/tags/Nieuws" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nieuws</span></a></p>
Digital Human ✔<p>Kritieke beveiligingslek in apache hugegraph-server gedicht: een gids tot veiligheid <a href="https://www.trendingtech.news/trending-news/2024/07/22858/kritieke-beveiligingslek-in-apache-hugegraph-server-gedicht-een-gids-tot-veiligheid" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">trendingtech.news/trending-new</span><span class="invisible">s/2024/07/22858/kritieke-beveiligingslek-in-apache-hugegraph-server-gedicht-een-gids-tot-veiligheid</span></a> <a href="https://mastodon.social/tags/CVE" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CVE</span></a>-2024-27348 <a href="https://mastodon.social/tags/Apache" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Apache</span></a> HugeGraph-Server <a href="https://mastodon.social/tags/Remote" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Remote</span></a> Command Execution <a href="https://mastodon.social/tags/Java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> upgrade <a href="https://mastodon.social/tags/Authenticatiesysteem" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Authenticatiesysteem</span></a> <a href="https://mastodon.social/tags/Trending" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Trending</span></a> <a href="https://mastodon.social/tags/News" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>News</span></a> <a href="https://mastodon.social/tags/Nieuws" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nieuws</span></a></p>
Digital Human ✔<p>Essentiële beveiligingsupdate voor apache hugegraph-server: voorkom remote command execution <a href="https://www.trendingtech.news/trending-news/2024/07/22855/essenti-le-beveiligingsupdate-voor-apache-hugegraph-server-voorkom-remote-command-execution" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">trendingtech.news/trending-new</span><span class="invisible">s/2024/07/22855/essenti-le-beveiligingsupdate-voor-apache-hugegraph-server-voorkom-remote-command-execution</span></a> <a href="https://mastodon.social/tags/Apache" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Apache</span></a> HugeGraph-Server <a href="https://mastodon.social/tags/CVE" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CVE</span></a>-2024-27348 <a href="https://mastodon.social/tags/Remote" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Remote</span></a> Command Execution <a href="https://mastodon.social/tags/Beveiligingsupdate" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Beveiligingsupdate</span></a> <a href="https://mastodon.social/tags/Java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> Auth systeem <a href="https://mastodon.social/tags/Trending" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Trending</span></a> <a href="https://mastodon.social/tags/News" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>News</span></a> <a href="https://mastodon.social/tags/Nieuws" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nieuws</span></a></p>
Puneet Behl<p>🎉 Exciting News! 🚀 Grails 6 GA is here! 💻✨ Embrace the latest Java, Spring, and Spring Boot updates with this game-changing release. 🔧⚡️ Upgrade now for enhanced productivity, seamless Micronaut integration, and remarkable performance gains. 🌟🔥 Join the <a href="https://jvm.social/tags/Grails6Fever" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Grails6Fever</span></a> and elevate your web development! 💪🌐 [Grails 6 GA Release](<a href="https://grails.org/blog/2023-07-25-introducing-grails-6.html" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">grails.org/blog/2023-07-25-int</span><span class="invisible">roducing-grails-6.html</span></a>) <a href="https://jvm.social/tags/GrailsFramework" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GrailsFramework</span></a> <a href="https://jvm.social/tags/WebAppDevelopment" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebAppDevelopment</span></a> <a href="https://jvm.social/tags/Java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> <a href="https://jvm.social/tags/MicronautIntegration" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MicronautIntegration</span></a> <a href="https://jvm.social/tags/UpgradeNow" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UpgradeNow</span></a> <a href="https://jvm.social/tags/DeveloperProductivity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DeveloperProductivity</span></a> <a href="https://jvm.social/tags/TechUpdates" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TechUpdates</span></a> <a href="https://jvm.social/tags/HappyCoding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HappyCoding</span></a> 😊🚀</p>
joschi<p>RT @dropwizardio@twitter.com</p><p><a href="https://mastodon.social/tags/Dropwizard" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Dropwizard</span></a> 4.0.0-beta.3 has been released. If you're interested in the next iteration of Dropwizard with <a href="https://mastodon.social/tags/Java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> and <a href="https://mastodon.social/tags/JakartaEE" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JakartaEE</span></a> baseline, give it a try! <a href="https://mastodon.social/tags/Java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java</span></a></p><p>Release notes: <a href="https://github.com/dropwizard/dropwizard/releases/tag/v4.0.0-beta.3" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/dropwizard/dropwiza</span><span class="invisible">rd/releases/tag/v4.0.0-beta.3</span></a><br>Discussion: <a href="https://github.com/dropwizard/dropwizard/discussions/6067" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/dropwizard/dropwiza</span><span class="invisible">rd/discussions/6067</span></a></p><p>🐦🔗: <a href="https://twitter.com/dropwizardio/status/1581740736844038145" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">twitter.com/dropwizardio/statu</span><span class="invisible">s/1581740736844038145</span></a></p>
joschi<p>RT @dropwizardio@twitter.com</p><p><a href="https://mastodon.social/tags/Dropwizard" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Dropwizard</span></a> 3.0.0-beta.4 has been released. If you're interested in the next iteration of Dropwizard with <a href="https://mastodon.social/tags/Java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> baseline, give it a try! <a href="https://mastodon.social/tags/Java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java</span></a></p><p>Release notes: <a href="https://github.com/dropwizard/dropwizard/releases/tag/v3.0.0-beta.4" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/dropwizard/dropwiza</span><span class="invisible">rd/releases/tag/v3.0.0-beta.4</span></a><br>Discussion: <a href="https://github.com/dropwizard/dropwizard/discussions/6066" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/dropwizard/dropwiza</span><span class="invisible">rd/discussions/6066</span></a></p><p>🐦🔗: <a href="https://twitter.com/dropwizardio/status/1581740546493534208" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">twitter.com/dropwizardio/statu</span><span class="invisible">s/1581740546493534208</span></a></p>
Benjamin Marwell ☕<p>That's all there is to it once you are past <a href="https://layer8.space/tags/Java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java</span></a> 9.<br>Migration from <a href="https://layer8.space/tags/Java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> to <a href="https://layer8.space/tags/Java17" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java17</span></a>.</p><p>I haven't even really started using Java 11 APIs =)</p>
Ænðr E. Feldstraw<p>So yes, it turns out that though our communication partner pretends to accept HTTP/2, their API server adheres to HTTP/1.1 standards. And with HTTP/1.1, the <a href="https://mastodon.social/tags/Java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> <a href="https://mastodon.social/tags/HttpClient" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HttpClient</span></a> will send a <a href="https://mastodon.social/tags/ContentLength" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ContentLength</span></a> header even if the payload is 0 bytes. Which is exactly what our communication partner expects. A bit weird, and sad.</p>
Ænðr E. Feldstraw<p>It looks like <a href="https://mastodon.social/tags/Java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> decided to completely omit the <a href="https://mastodon.social/tags/contentLength" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>contentLength</span></a> header of an <a href="https://mastodon.social/tags/HttpPost" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HttpPost</span></a> request if the content length equals 0 (zero). That's possible with HTTP/2, but not with HTTP/1.0 or 1.1. </p><p>The <a href="https://mastodon.social/tags/RESTAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RESTAPI</span></a> server we talk to requires a content-length header even if the payload is empty. Does downgrading to HTTP/1.1 change the behavior of <a href="https://mastodon.social/tags/JavaNetHttp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaNetHttp</span></a>? Does that get the header included?</p><p>Or do we have to override default header filtering?</p>
Ænðr E. Feldstraw<p><a href="https://mastodon.social/tags/Enterprise" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Enterprise</span></a> <a href="https://mastodon.social/tags/Message" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Message</span></a> <a href="https://mastodon.social/tags/Queues" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Queues</span></a> require a different mindset than batchwise <a href="https://mastodon.social/tags/processing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>processing</span></a>. With an <a href="https://mastodon.social/tags/EMQ" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EMQ</span></a> one gets nudged to handle 1 message at a time. It needs <a href="https://mastodon.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a> <a href="https://mastodon.social/tags/languages" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>languages</span></a> that have quick start-up times. Historically, <a href="https://mastodon.social/tags/Java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java</span></a> has a bad rep for that.</p><p>With <a href="https://mastodon.social/tags/Java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> and IBM<br>'s <a href="https://mastodon.social/tags/OJ9" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OJ9</span></a> the cold-start speed of a program can be greatly increased (vs Oracle<br>'s <a href="https://mastodon.social/tags/Hotspot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hotspot</span></a>) to the point where the program no longer needs to run forever... which is why we can use it on <a href="https://mastodon.social/tags/AwsLambda" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AwsLambda</span></a> with <a href="https://mastodon.social/tags/Kafka" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Kafka</span></a>.</p>
Ænðr E. Feldstraw<p>The other day I learned that the <a href="https://mastodon.social/tags/javaNetHttpClient" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>javaNetHttpClient</span></a> should be cached and reused. It doesn't really matter if you have 1 or 2 calls. It does matter if you have thousands. </p><p>This client became available with <a href="https://mastodon.social/tags/Java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a>.</p><p>The problem is lingering opened sockets, waiting for a response from the communication partner. They cost memory and system resources. Reusing the <a href="https://mastodon.social/tags/HttpClient" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HttpClient</span></a> allows it to streamline itself.</p>
Ænðr E. Feldstraw<p>Last week I migrated one of my <a href="https://mastodon.social/tags/dataIntegration" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataIntegration</span></a> <a href="https://mastodon.social/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a> applications. It went from <a href="https://mastodon.social/tags/XML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>XML</span></a> input and <a href="https://mastodon.social/tags/JSON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JSON</span></a> output to JSON input and output, and at the same time from <a href="https://mastodon.social/tags/Oracle" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Oracle</span></a> <a href="https://mastodon.social/tags/Java8" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java8</span></a> to <a href="https://mastodon.social/tags/IBM" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>IBM</span></a> <a href="https://mastodon.social/tags/Java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a>. <br> <br>That move cut away 2/3rds of the <a href="https://mastodon.social/tags/sourceCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sourceCode</span></a>. <br> <br>The functionality stayed roughly the same. Some validations got omitted. I may wind up adding them back in. <br> <br>This is the way forward. It wouldn't have been possible without tooling that produces JSON documents. <a href="https://mastodon.social/tags/OpenText" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenText</span></a> <a href="https://mastodon.social/tags/BizMapper" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BizMapper</span></a></p>
Mikel Mastodon<p>👍 TV-Browser 4.2 Final</p><p>📌 Heute veröffentlichen wir TV-Browser 4.2. Die Veröffentlichung hat diesmal etwas länger gedauert, da durch den Wechsel auf Java 11 längere Tests nötig waren, um sicher zu stellen, dass TV-Browser stabil läuft.</p><p><a href="https://social.tchncs.de/tags/tvbrowser" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TVBrowser</span></a> <a href="https://social.tchncs.de/tags/tvbrowser42" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TVBrowser42</span></a> <a href="https://social.tchncs.de/tags/tv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TV</span></a>-Browser <a href="https://social.tchncs.de/tags/java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> <a href="https://social.tchncs.de/tags/tv" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TV</span></a> <a href="https://social.tchncs.de/tags/programm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Programm</span></a> <a href="https://social.tchncs.de/tags/fernsehprogramm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Fernsehprogramm</span></a></p><p><a href="https://www.tvbrowser.org/index.php?id=news-20190928-1105&amp;setlang=de" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">tvbrowser.org/index.php?id=new</span><span class="invisible">s-20190928-1105&amp;setlang=de</span></a></p>
Patrick L Archibald :pla: Is the new HttpClient available in OpenJDK <a class="hashtag" href="https://pla.social/tag/java11" rel="nofollow noopener noreferrer" target="_blank">#Java11</a> on <a class="hashtag" href="https://pla.social/tag/ubuntu" rel="nofollow noopener noreferrer" target="_blank">#Ubuntu</a> 18.04? I see references to it here: <a href="https://jdk.java.net/archive/" rel="nofollow noopener noreferrer" target="_blank">https://jdk.java.net/archive/</a> but not in OpenJDK 64-Bit Server VM (build 11.0.2+9-Ubuntu-3ubuntu118.04.3, mixed mode, sharing) installed on my system. 🤔
Ænðr E. Feldstraw<p>See, in <a href="https://mastodon.social/tags/java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>java</span></a> all data types that aren't primitives inherit from the Object class. And that means that any process could generate an Object <a href="https://mastodon.social/tags/array" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>array</span></a> as its return value. It would be a single compound value, the elements of which can be accessed by index. <br> <br>Up until <a href="https://mastodon.social/tags/java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>java11</span></a> however, if we were to access those elements, we were responsible for telling the compiler what <a href="https://mastodon.social/tags/datatype" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataType</span></a> we expected, and we would have to perform a type cast. <br> <br>And the compiler couldn't check for type safety.</p>
Ænðr E. Feldstraw<p>The <a href="https://mastodon.social/tags/sdkman" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SDKMan</span></a> web team over at the bird site announced that they'll be distributing <a href="https://mastodon.social/tags/openj9" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenJ9</span></a> <a href="https://mastodon.social/tags/java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> <a href="https://mastodon.social/tags/sdk" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SDK</span></a>. I haven't seen it at their web site yet: <a href="https://sdkman.io/" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="">sdkman.io/</span><span class="invisible"></span></a> <br>but they say you can install it like so: <br>`sdk i java 11.0.2.j9-adpt`</p><p>(Via <span class="h-card"><a href="https://mastodon.social/@madmas" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>madmas</span></a></span> )</p>
Ænðr E. Feldstraw<p>Yes, <a href="https://mastodon.social/tags/microsoft" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Microsoft</span></a>, what I want <a href="https://mastodon.social/tags/mswindows" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MSWindows</span></a> to do is take a whole day to paste <a href="https://mastodon.social/tags/java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> into a different server.</p>
Ænðr E. Feldstraw<p><a href="https://mastodon.social/tags/typeinference" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TypeInference</span></a> in the <a href="https://mastodon.social/tags/java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/language" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>language</span></a> still is in its infancy. We recognize that when our toolsets start failing to infer the types of our variables and method results due to us making the data types more verbose and more explicit. Thanks, <a href="https://mastodon.social/tags/java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java</span></a>.</p>
Ænðr E. Feldstraw<p>This in response to the earlier revelation that a <a href="https://mastodon.social/tags/java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>java</span></a> method can't have more than an integer count of arguments, so we can't pass in more than 65,535 lines of a file (because the 65,536th argument is for the implied "this" argument). And my file happens to be slightly larger than that. By about 130,000 lines. Gzipping and Base64 encoding reduced that to a single line of roughly 10,000 characters, which is accepted by the <a href="https://mastodon.social/tags/java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>java11</span></a> <a href="https://mastodon.social/tags/compiler" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>compiler</span></a>.</p>
Ænðr E. Feldstraw<p><a href="https://mastodon.social/tags/todayilearned" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TodayILearned</span></a> that the new <a href="https://mastodon.social/tags/java11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java11</span></a> <a href="https://mastodon.social/tags/java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>java</span></a>.net.http <a href="https://mastodon.social/tags/httpclient" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HttpClient</span></a> and <a href="https://mastodon.social/tags/httprequest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HttpRequest</span></a> are not equipped to handle multipart/form-data out of the box. One has to generate and add their own form boundaries. <br> <br>This is a problem for those of us who never needed to know the <a href="https://mastodon.social/tags/http" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTTP</span></a>/1.1 and <a href="https://mastodon.social/tags/multipart" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Multipart</span></a> RFCs by heart, and had hoped that the tools built into the programming language's ecosystem would handle common use cases. <br> <br>Which HTTP component do you use for multipart/form-data?</p>