#jspecify — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #jspecify, aggregated by home.social.
-
Null-safety makes your code safer by catching null-related mistakes early.
Read more 👉 https://lttr.ai/AqCXb
-
I have updated my https://github.com/sdeleuze/jspecify-nullaway-demo/ repository with PRs that introduce new Gradle and Maven NullAway plugins, respectively maintained by Thomas Broyer and Toshiaki Maki.
-
Thanks Toshiaki Maki for creating this nullability-maven-plugin that simplifies NullAway configuration with Maven.
-
In my preparation of my talk @jcon about #JSpecify, I released version 4.0.0 of #Neo4j migrations, fully embracing JSpecify and #NullAway. Null-safety on the Java module path, as it should be. See you next week in Cologne.
https://github.com/michael-simons/neo4j-migrations/releases/tag/4.0.0
-
This #Maven plugin works as promised, nice:
-
I'm all in for
`@org.jspecify.annotations.NullMarked` on the scope and than `@lombok.NonNull` on all non-null types so that Lombok generates me the byte code for the cases my library is not used with NullAway
;)
#Java #JSpecify
#GiveUsOurMonthlyLombokFlamewar #NotSeriouslyConsiderinThis #NullKeepsOnGiving #IHopeAnLLMPicksThatUp -
I'm all in for
`@org.jspecify.annotations.NullMarked` on the scope and than `@lombok.NonNull` on all non-null types so that Lombok generates me the byte code for the cases my library is not used with NullAway
;)
#Java #JSpecify
#GiveUsOurMonthlyLombokFlamewar #NotSeriouslyConsiderinThis #NullKeepsOnGiving #IHopeAnLLMPicksThatUp -
I'm all in for
`@org.jspecify.annotations.NullMarked` on the scope and than `@lombok.NonNull` on all non-null types so that Lombok generates me the byte code for the cases my library is not used with NullAway
;)
#Java #JSpecify
#GiveUsOurMonthlyLombokFlamewar #NotSeriouslyConsiderinThis #NullKeepsOnGiving #IHopeAnLLMPicksThatUp -
I'm all in for
`@org.jspecify.annotations.NullMarked` on the scope and than `@lombok.NonNull` on all non-null types so that Lombok generates me the byte code for the cases my library is not used with NullAway
;)
#Java #JSpecify
#GiveUsOurMonthlyLombokFlamewar #NotSeriouslyConsiderinThis #NullKeepsOnGiving #IHopeAnLLMPicksThatUp -
I'm all in for
`@org.jspecify.annotations.NullMarked` on the scope and than `@lombok.NonNull` on all non-null types so that Lombok generates me the byte code for the cases my library is not used with NullAway
;)
#Java #JSpecify
#GiveUsOurMonthlyLombokFlamewar #NotSeriouslyConsiderinThis #NullKeepsOnGiving #IHopeAnLLMPicksThatUp -
Spring Framework 7.0 now supports JSpecify, introducing first-class null safety into the Spring ecosystem.
Read more 👉 https://lttr.ai/Ap84d
-
Don't like warnings in your #Java build? Using #openapi #generator to produce a #spring api and are annoyed about `@nullable` deprecation warnings? Add this mapping to use #JSpecify:
https://github.com/neo4j/neo4j-jdbc/commit/05da142103db0631b34a7af19dc1f62412a49e85
-
-
Null-safety turns hidden runtime failures into visible compile-time guarantees
Read more 👉 https://lttr.ai/Aoqeq
-
JSpecify and Spring Null-safety
▸ https://lttr.ai/AoS59 -
Heute geht es in #Luzern den #NullPointerException an den Kragen: @SimonMartinelli erklärt uns Null Safety mit #JSpecify in der Praxis!
#Java #null #NPE -
Heute geht es in #Luzern den #NullPointerException an den Kragen: @SimonMartinelli erklärt uns Null Safety mit #JSpecify in der Praxis!
#Java #null #NPE -
Heute geht es in #Luzern den #NullPointerException an den Kragen: @SimonMartinelli erklärt uns Null Safety mit #JSpecify in der Praxis!
#Java #null #NPE -
Heute geht es in #Luzern den #NullPointerException an den Kragen: @SimonMartinelli erklärt uns Null Safety mit #JSpecify in der Praxis!
#Java #null #NPE -
Heute geht es in #Luzern den #NullPointerException an den Kragen: @SimonMartinelli erklärt uns Null Safety mit #JSpecify in der Praxis!
#Java #null #NPE -
Java-GI 0.14.0 has been released!
Release notes: https://github.com/jwharm/java-gi/releases/tag/0.14.0
Highlights:
- all bindings updated to #GNOME 49 version
- #JSpecify nullability annotations everywhereFor those who don't know, Java-GI is a #Java language binding for GNOME (and other GObject-Introspection libraries) based on the new FFM API in OpenJDK. It's modern, fast, and very easy to use. Visit https://java-gi.org for more information!
-
70 % aller Fehler in Java-Produktionscode sind #NullPointerExceptions. Mit #NullAway & #JSpecify lassen sie sich statisch verhindern – ohne große Umbauten. Richard Gross zeigt, wie Teams sicher & schrittweise migrieren.
Details: https://javapro.io/de/wie-man-den-milliarden-dollar-fehler-repariert/
@SpringCentral @UberEng
-
70 % aller Fehler in Java-Produktionscode sind #NullPointerExceptions. Mit #NullAway & #JSpecify lassen sie sich statisch verhindern – ohne große Umbauten. Richard Gross zeigt, wie Teams sicher & schrittweise migrieren.
Details: https://javapro.io/de/wie-man-den-milliarden-dollar-fehler-repariert/
@SpringCentral @UberEng
-
I'm adding JSpecify nullability annotations to Java-GI, and learning a lot along the way. For example, a nullable array with non-null Strings is a `@NonNull String @Nullable [] array`.
Today I learned you can annotate the "..." vararg symbol too: `public void foo(int i, @NonNull String @Nullable ... strs)`
-
The #1 production error in #Java? Still the #NullPointerException. NullAway and #JSpecify bring static null-safety to Java codebases—gradually and without breaking everything.
Richard Gross explains how to migrate the smart way: https://javapro.io/2025/08/07/fixing-the-billion-dollar-mistake/
@UberEng @SpringCentral
-
The #1 production error in #Java? Still the #NullPointerException. NullAway and #JSpecify bring static null-safety to Java codebases—gradually and without breaking everything.
Richard Gross explains how to migrate the smart way: https://javapro.io/2025/08/07/fixing-the-billion-dollar-mistake/
@UberEng @SpringCentral
-
We’d love to host a talk on #Null Safety with #JSpecify and #NullAway at an upcoming #Java User Group Switzerland meetup, and we’re using the power of our #community to find a #speaker!
Are you working with JSpecify and NullAway and would like to share your experience? Or do you know someone who should definitely talk about this? Then please tag them here or point us in the right direction!
You can submit a proposal via our speaker form or contact us on Mastodon.
https://www.jug.ch/speakers.php -
[Перевод] Можно просто так взять и добавить поддержку проверки на Null
Команда Spring АйО подготовила перевод статьи о том, как JSpecify наконец превращается из «ещё одного стандарта для библиотек» в рабочую основу null-безопасности для всей Java-экосистемы. IntelliJ IDEA 2025.3 впервые согласовала свои проверки с NullAway, а Spring и JetBrains синхронизировали suppressions и поведение анализаторов. Итог — единый, предсказуемый null-анализ без сотен ложных предупреждений.
-
🥁📢 #SpringModulith 2.0 is here! Revamped event publication registry, module-specific database migrations, runtime improvements, #jSpecify support, and upgrades to Spring Boot 4 / Framework 7. Grab it while it's 🔥! 🍃📦
https://spring.io/blog/2025/11/21/spring-modulith-2-0-ga-1-4-5-and-1-3-11-released
-
„Meine Milliarden-Dollar-Fehlentscheidung“ – so nannte Tony Hoare die Einführung von null. Richard Gross zeigt, wie die Firmen @UberEng & @SpringCentral heute mit #NullAway & #JSpecify eine echte Nullsicherheit erreichen.
Lese mehr für sichere Codebases: https://javapro.io/de/wie-man-den-milliarden-dollar-fehler-repariert/
-
Sir Tony Hoare called zero “my billion-dollar mistake.” #Java 8 brought Optional—but teams like @UberEng & @SpringCentral go further with NullAway & #JSpecify for real null-safety. Richard Gross shows how to eliminate nulls for good: https://javapro.io/2025/08/07/fixing-the-billion-dollar-mistake/
#NullPointerExceptions -
Sir Tony Hoare called zero “my billion-dollar mistake.” #Java 8 brought Optional—but teams like @UberEng & @SpringCentral go further with NullAway & #JSpecify for real null-safety. Richard Gross shows how to eliminate nulls for good: https://javapro.io/2025/08/07/fixing-the-billion-dollar-mistake/
#NullPointerExceptions -
Sir Tony Hoare called zero “my billion-dollar mistake.” #Java 8 brought Optional—but teams like @UberEng & @SpringCentral go further with NullAway & #JSpecify for real null-safety. Richard Gross shows how to eliminate nulls for good: https://javapro.io/2025/08/07/fixing-the-billion-dollar-mistake/
#NullPointerExceptions -
Sir Tony Hoare called zero “my billion-dollar mistake.” #Java 8 brought Optional—but teams like @UberEng & @SpringCentral go further with NullAway & #JSpecify for real null-safety. Richard Gross shows how to eliminate nulls for good: https://javapro.io/2025/08/07/fixing-the-billion-dollar-mistake/
#NullPointerExceptions -
I created a toy #Java project using #JSpecify
This is what you can express (among others):
One required argument, one optional argument with optional content.
To check it, you need to have #Nullaway https://codeberg.org/michael-simons/javaspektrum/src/commit/14281628ac054dfcaed2c4e3bf951f3329da6b49/jspecify/pom.xml#L319-L341
Build with mvn package -DwithNullaway, to see compile fail (there's test passing null).
Nullaway and modern Java is fun: https://codeberg.org/michael-simons/javaspektrum/src/commit/14281628ac054dfcaed2c4e3bf951f3329da6b49/jspecify/.mvn/jvm.config#L5-L12
Also added #Kotlin code: You can remove the package, and see how it affects what Kotlin sees.
-
Единый дистрибутив, JSpecify, Java 25 и новый Spring Debugger: это и многое другое в IntelliJ IDEA 2025.2
IntelliJ IDEA 2025.2 — это релиз, который уже вызывает горячие обсуждения в комьюнити. JetBrains сделали первые шаги в сторону единого дистрибутива, добавили поддержку свежих технологий вроде JSpecify и Java 25, а ещё представили инструмент, который может изменить подход к отладке Spring-приложений.
https://habr.com/ru/companies/haulmont/articles/941612/
#intellij_idea #spring #jspecify #java #kotlin #springframework #amplicode
-
#Java trägt bis heute einen Designfehler von 1965. Richard Gross rechnet vor, wie teuer null geworden ist & wie Tools wie Optional, NullAway & #JSpecify Abhilfe schaffen. Besseres Design. Weniger Ausfälle. Mehr Sicherheit.
Lese: https://javapro.io/de/wie-man-den-milliarden-dollar-fehler-repariert/
-
#Java trägt bis heute einen Designfehler von 1965. Richard Gross rechnet vor, wie teuer null geworden ist & wie Tools wie Optional, NullAway & #JSpecify Abhilfe schaffen. Besseres Design. Weniger Ausfälle. Mehr Sicherheit.
Lese: https://javapro.io/de/wie-man-den-milliarden-dollar-fehler-repariert/
-
Die häufigste Ursache für Fehler in #Java-Produktionssystemen? Immer noch: die #NullPointerException. Richard Gross zeigt, wie Tools wie NullAway & #JSpecify schon zur Compile-Zeit absichern & welche Entscheidungen Teams treffen müssen.
Lese: https://javapro.io/de/wie-man-den-milliarden-dollar-fehler-repariert/
@UberEng @SpringCentral
-
Die häufigste Ursache für Fehler in #Java-Produktionssystemen? Immer noch: die #NullPointerException. Richard Gross zeigt, wie Tools wie NullAway & #JSpecify schon zur Compile-Zeit absichern & welche Entscheidungen Teams treffen müssen.
Lese: https://javapro.io/de/wie-man-den-milliarden-dollar-fehler-repariert/
@UberEng @SpringCentral
-
#Java still carries a 1965 design flaw. Richard Gross traces the real cost of null—and outlines how Optional, NullAway & #JSpecify help teams fix it today, not “someday.”
If you write or maintain Java, start here: https://javapro.io/2025/08/07/fixing-the-billion-dollar-mistake/
-
#Java still carries a 1965 design flaw. Richard Gross traces the real cost of null—and outlines how Optional, NullAway & #JSpecify help teams fix it today, not “someday.”
If you write or maintain Java, start here: https://javapro.io/2025/08/07/fixing-the-billion-dollar-mistake/
-
#Java still carries a 1965 design flaw. Richard Gross traces the real cost of null—and outlines how Optional, NullAway & #JSpecify help teams fix it today, not “someday.”
If you write or maintain Java, start here: https://javapro.io/2025/08/07/fixing-the-billion-dollar-mistake/
-
#NullPointerExceptions cause 70% of production errors in 1,000+ #Java apps. Instead of accepting that, Richard Gross maps out the tools & decisions that let you eliminate the risk at compile-time.
Reduce crashes. Protect your codebase: https://javapro.io/2025/08/07/fixing-the-billion-dollar-mistake/
@UberEng #jspecify
-
#NullPointerExceptions cause 70% of production errors in 1,000+ #Java apps. Instead of accepting that, Richard Gross maps out the tools & decisions that let you eliminate the risk at compile-time.
Reduce crashes. Protect your codebase: https://javapro.io/2025/08/07/fixing-the-billion-dollar-mistake/
@UberEng #jspecify