-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
16
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
String.isEmpty() is faster, easier to read, and generates less bytecode. It makes sense to replace all occurrences within JDK codebase with the isEmpty() method.
While the change will affect a lot of components (~150 occurrences in the latest codebase). Change is very easy to review.
String.isEmpty() is faster, easier to read, and generates less bytecode. It makes sense to replace all occurrences within JDK codebase with the isEmpty() method.
While the change will affect a lot of components (~150 occurrences in the latest codebase). Change is very easy to review.
- links to
-
Review openjdk/jdk/29