Earlier quoted context omitted.
Usually you don't do arithmetic with char in Java, this isn't C culture of anything goes.
It is not even possible to do arithmetic on char in C.
#include
unsigned int pack_rgb(unsigned char r, unsigned char g, unsigned char b) {
return (r
Compiler Explorer link, https://godbolt.org/z/3jExdaTT9I would expect a better comment from someone working on the standard.