GeezerVison is showing github.com — Typos in various articles (multi-article typo only ticket) · Issue #263 · java/devjava-content
Typos in various articles (multi-article typo only ticket) #263DescriptionHello dev.java team!
Thanks again for all the content. I have been reporting issues as a way to contribute back, and when I can I try to give deep feedback on various issues (like mismatched or missing links, non-compiling code, error cases in examples, conceptual issues if they are present which is rare, etc) with 1 ticket per page or tutorial series. However, even when I don't have the bandwidth to do such a deep review of a page when reporting anything, I often notice typos in articles. Thus I am opening this ticket to report simple spelling errors I identify across many articles where I don't have time (yet) to review the entire content of those articles deeply but am aware of typos.
(There were no AIs or LLMs used in finding or reporting these typos.)
In the latest version of https://dev.java/learn/language-basics/arrays/ (archived as is at http://web.archive.org/web/20260714060411/https://dev.java/learn/language-basics/arrays/ ),
String[] coffees = {
"Affogato", "Americano", "Cappuccino", "Corretto", "Cortado",
"Doppio", "Espresso", "Frappucino", "Freddo", "Lungo", "Macchiato",
"Marocchino", "Ristretto" };
var coffeesAsString = Arrays.toString(coffees)
IO.prinln(coffeesAsString);
the code box will not run for multiple reasons:
"Arrays.toString(coffees)" is missing an ending semicolon afterwards;
"IO.prinln" should be "IO.println" (there is a missing "t").
also,
"Frappucino" should be "Frappuccino" ( https://en.wikipedia.org/w/index.php?title=Frappuccino&oldid=1360238213 ).
In the latest version of https://dev.java/learn/pattern-matching/ (archived as is at https://web.archive.org/web/20260714011718/https://dev.java/learn/pattern-matching/ ) ,
-
In the sentence
The s pattern variable is available oustide of the if statement, as long as your code leaves the method from the if branch: either with a return, or by throwing an exception.
"oustide" should be "outside". Also this statement is unclear. The condition of the if is true if o is NOT an instanceof String, so the pattern variable is available if the condition is false; in the branch where the if is bypassed, not hitting the return (this is true because if the IF is bypassed it means o must have been a string, this would also be true if the return was replaced with throwing an exception).
-
In the sentence
For that, let us consider the folowing example.
"folowing" should be "following".
In the latest version of https://dev.java/learn/annotations/ (archived as is at https://web.archive.org/web/20260714032443/https://dev.java/learn/annotations/?nonce=1 ),
In the latest version of https://dev.java/learn/getting-started/ (archived as is at https://web.archive.org/web/20260714011832/https://dev.java/learn/getting-started/ ),
In the latest version of https://dev.java/learn/debugging/ (archived as is at https://web.archive.org/web/20260714060248/https://dev.java/learn/debugging/?nonce=1 ),
In the latest version of https://dev.java/learn/eclipse/ (archived as is at http://web.archive.org/web/20260714061649/https://dev.java/learn/eclipse/ ),
In the latest version of https://dev.java/learn/numbers-strings/numbers/ (archived as is at http://web.archive.org/web/20260714062520/https://dev.java/learn/numbers-strings/numbers/ ),
In the latest version of https://dev.java/learn/vscode-java/ (archived as is at https://web.archive.org/web/20260714011605/https://dev.java/learn/vscode-java/ )
In the latest version of https://dev.java/learn/lambdas/first-lambdas/ (archived as is at http://web.archive.org/web/20260714075742/https://dev.java/learn/lambdas/first-lambdas/?nonce=1 ),
- In the sentence,
So everytime you write a lambda,
you can call any method defined
on the interface this lamdba is implementing.
the 2nd time "lambda" is intended, it is spelled incorrectly.
That is on the 3rd line above "lamdba" should be "lambda" .
Thanks so much! ActivityJosePaumard commented on Jul 15, 2026 Thank you again for your report! A fix is on its way. willy-b commented on Jul 16, 2026 Thanks! That first example I sent is not fixed yet ("prinln" still needs to be updated to "println" as indicated in my last comment, and it is repeated in the list below along with the newly reported typos).
Here are some more typos I have found (not guaranteeing these are the only issues with those pages, but no reason not to fix these typos since they have been detected):
In the latest version of https://dev.java/learn/jvm/tool/security/keytool/ (archived as is at https://web.archive.org/web/20260715234313/https://dev.java/learn/jvm/tool/security/keytool/?nonce=2 ),
In the latest version of https://dev.java/learn/debugging/ (archived as is at https://web.archive.org/web/20260715231111/https://dev.java/learn/debugging/) ,
In the latest version of https://dev.java/learn/jvm/jfr/intro/ (archived as is at https://web.archive.org/web/20260715230756/https://dev.java/learn/jvm/jfr/intro/ ),
In the latest version of https://dev.java/learn/jvm/tool/garbage-collection/intro/ (archived as is at https://web.archive.org/web/20260715231250/https://dev.java/learn/jvm/tool/garbage-collection/intro/ ),
Memory Managment
"Managment" should "Management".
In the latest version of https://dev.java/learn/jvm/tool/garbage-collection/java-specifics/ (archived as is at https://web.archive.org/web/20260715235827/https://dev.java/learn/jvm/tool/garbage-collection/java-specifics/?nonce=4 ),
- in the sentences
This in turn means that during a garbage collection, part, or all, of the JVM must be paused for a period while the garbage collector works to prevent errors from occuring as objects are checked for usage, deleted, and moved or copied.
[...]
Tools like JDK Flight Recorder (JFR) and Visual VM can be used to monitor the frequency and duration of pauses occuring from garbage collection.
"occuring" should be "occurring" (in two places above).
In the latest version of https://dev.java/learn/classes-objects/creating-objects/ (archived as is at https://web.archive.org/web/20260716001528/https://dev.java/learn/classes-objects/creating-objects/?nonce=5 )
In the latest version of https://dev.java/learn/date-time/non-iso-conversion/ (archived as is at https://web.archive.org/web/20260716001550/https://dev.java/learn/date-time/non-iso-conversion/?nonce=5 )
In the latest version of https://dev.java/learn/jvm/jfr/getting-started/ (archived as is at https://web.archive.org/web/20260716001938/https://dev.java/learn/jvm/jfr/getting-started/?nonce=5 )
In the latest version of https://dev.java/learn/refactoring-to-functional-style/convertingtostreams/ (archived as is at https://web.archive.org/web/20260716002322/https://dev.java/learn/refactoring-to-functional-style/convertingtostreams/?nonce=3 )
In the latest version of https://dev.java/learn/regex/patterns/ (archived as is at https://web.archive.org/web/20260716002952/https://dev.java/learn/regex/patterns/?nonce=3 )
- In the sentence
As you can see, the string literal "dog" matches both occurences, regardless of case.
"occurences" should be "occurrences"
In the latest version of https://dev.java/learn/jvm/tool/garbage-collection/zgc-overview/ (archived as is at https://web.archive.org/web/20260716003010/https://dev.java/learn/jvm/tool/garbage-collection/zgc-overview/?nonce=6 )
In the latest version of https://dev.java/learn/language-basics/arrays/ (archived as is https://web.archive.org/web/20260716003938/https://dev.java/learn/language-basics/arrays/?nonce=6 )
In the latest version of https://dev.java/learn/generics/type-erasure/ (archived as is https://web.archive.org/web/20260716004241/https://dev.java/learn/generics/type-erasure/?nonce=2 )
In the latest version of https://dev.java/learn/jvm/tool/troubleshooting/jcmd/ (archived as is at https://web.archive.org/web/20260715233521/https://dev.java/learn/jvm/tool/troubleshooting/jcmd/ ),
Thanks so much! JosePaumard commented on Jul 16, 2026 Thank you again for your report! A fix is on its way. willy-b commented on Jul 18, 2026 JosePaumard commented on Jul 18, 2026 Thank you again for your report! A fix is on its way. willy-b commented on Jul 19, 2026 JosePaumard commented on Jul 20, 2026 Thank you again for your report! A fix is on its way. willy-b commented on Jul 21, 2026 Can you confirm those changes were deployed? I don't see that any updates for the items reported in my last comment were deployed yet. Thanks so much! JosePaumard commented on Jul 24, 2026 Sorry for the delay. It should be live in a few mn now. willy-b commented on Jul 24, 2026 JosePaumard commented on Jul 26, 2026 Thank you again for your report! A fix is on its way. willy-b commented on Jul 30, 2026 JosePaumard commented on Jul 31, 2026 Thank you again for your report! A fix is on its way. willy-b commented on Aug 1, 2026 willy-b commented on Aug 4, 2026 Note there is an analogous typo roll-up ticket for inside.java that I opened at java/devrel#54 for ease of reference between the two. Thanks! willy-b commented on Aug 8, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|