short type has no literal. Integer literals are implicitly converted from int:
short
int
short s = 127;