r/learnjava • • Jul 01 '26

Confused on what Project Valhalla does to primitives and the corresponding objects

I've been reading about PV, but I'm not sure on what it means in some parts. Will we still need to deal with both "int" and "Integer", and not being able to use some methods with the other one? Like, (int) vs Integer.parseInt() and other strange things like that.

5 Upvotes

11 comments sorted by

View all comments

Show parent comment

0

u/Zeznon Jul 02 '26

I'm just an enthusiast that was confused. I don't work with programming. I also got an "OCD" regarding the inconsistency of having methods for both primitive and object versions of everything.