Find why this generated method is not stable Java 17 source code.
Java
static String label(Object value) {
return switch (value) {
case String text when !text.isBlank() -> text.strip();
case String text -> "blank";
default -> "other";
};
}