Updated community
@awscloud #lambda custom base images for #java17 17.0.6 and #java19 19.0.2 are now available in @DockerHub https://hub.docker.com/repository/docker/aleph0io/aws-lambda-java and ECR Public Gallery https://gallery.ecr.aws/aleph0io/lambda/java. Enjoy!
#17: Custom Localized Date-Time Formats
You can have a `DateTimeFormatter` with a custom pattern: `ofPattern("y-MM-dd")`
You can have a localized one, too:
`ofLocalizedDate(FormatStyle.SHORT)`
And since #Java19, custom localized one works, too: `ofLocalizedPattern("yMM")`
#5: `newHashSet`
The `HashSet` constructor that takes an `int` argument interprets that as capacity, not as the number of expected elements. Once the number of elements reaches $LOAD-FACTOR (by default 75%) of capacity, the set resizes itself.
To avoid that resize with the constructor you either need to compute capacity from number of expected elements or set the load factor accordingly.
Or, since #Java19, call `HashSet::newHashSet` and pass the number of expected elements.
The recent #Gradle 7.6 release supports #compiling, #testing, and running on #Java19 -
#gradle #compiling #testing #java19
The recent #Gradle 7.6 release supports #compiling, #testing, and running on #Java19 -
#gradle #compiling #testing #java19
The recent #Gradle 7.6 release supports #compiling, #testing, and running on #Java19 - https://t.co/dGz2mGIjV0
#gradle #compiling #testing #java19
The recent #Gradle 7.6 release supports #compiling, #testing, and running on #Java19 - https://docs.gradle.org/7.6/release-notes.html#:~:text=Added%20Support%20for%20Java%2019
#gradle #compiling #testing #java19
Lots of learning to be had at the return of the #Belgian Java User Group where the great @ammbra1508 talked about new features in #Java 19 . Kudos to @TCoolsIT for reviving (resuscitating?) the group π And nice to see @geoffreydesmet there as well π
RT @BeJUG@twitter.com
After a short intro, our star speaker of the evening is kicking it all off! @ammbra1508 talking about #java19.
complete java program that use foreign function and memory API to interface with C api 'strlen' (includes instruction to compile and execute).
#java #jdk #openjdk #java19 #foreignfunction #memorymanagement #programming #SoftwareHub #Ankara #Turkiye #Turkey
#java #jdk #openjdk #java19 #foreignfunction #memorymanagement #programming #SoftwareHub #ankara #turkiye #turkey
Just a single day to go until J-Fall! For the 6th consecutive time I'll be speaking at the largest #Java event in my home country. π³π± At 8AM in Room 5 @peterwessels, me & a room full of early birds will dive into #PatternMatching! #Java19 #JFall
#java #patternmatching #java19 #jfall
What's new in Java 19 for us, developers ?
(both in french and english)
https://loicmathieu.fr/wordpress/informatique/java-19-quoi-de-neuf/
#java #java19
Of course there's already a #Java19 related issue for @OpenLibertyIO@twitter.com. I wish I could be the first to think of such things π€£
Thanks @Thi_Hup@twitter.com! ππ»
Welcome, Java 19 ! And I have some good news, @micronautfw@twitter.com 4 will be Java 17+ only, but it already runs on Java 19!
RT @java@twitter.com
Java 19 is now available! #Java19 #JDK19 #openjdk
Download now: https://social.ora.cl/6010Mpdz6
Release notes: https://social.ora.cl/6015Mpdz1
API Javadoc: https://social.ora.cl/6018Mpdzy
Features: https://social.ora.cl/6010MpdzK
Inside Java on JDK 19: https://social.ora.cl/6013Mpdz3 https://twitter.com/java/status/1572243891562381313/photo/1
π¦π: https://twitter.com/java/status/1572243891562381313
RT @sundararajan_a@twitter.com
Pattern Matching for switch and Record Patterns.
https://openjdk.java.net/jeps/427
https://openjdk.java.net/jeps/405
π¦π: https://twitter.com/sundararajan_a/status/1532749330612113408