Kamil Banach
banner
banach.net.pl
Kamil Banach
@banach.net.pl
Software Engineer, Speaker, Builder, Oracle ACE

🚀 Building https://signaturky.com - blazingly fast domain signature management tool
🌐 Blogging at https://banach.net.pl
September 30, 2025 at 7:15 AM
It will only print 10 - the count of elements in the list! 😲

The intermediate operation is skipped because it's not needed to calculate the count. peek doesn't change the number of elements, and the list length is already known, so the peek is optimized out!
September 17, 2025 at 10:30 AM
Darmowe bilety tutaj 🎫 javeloper.pl
Javeloper 2025 (online) Autumn Edition | Największa konferencja o Java w Polsce
Javeloper 2025 (online) Autumn Edition | Największa konferencja o Java w Polsce
javeloper.pl
September 17, 2025 at 8:25 AM
Reposted by Kamil Banach
Nope. In order to find out the major version that a compiler places in a class file using default settings (no explicit release flag) matching the same number of the given JDK distribution is:

44 + JDK number

44 + 8 = 52
44 + 11 = 55
44 + 24 = 68
August 14, 2025 at 9:55 AM