65번째 라인의 X.get(xSize) == Y.get(ySize) 를 (int)X.get(xSize) == (int)Y.get(ySize) 로 바꿔주시면 통과합니다~
또는 int로 언박싱하지 않고 .equals 를 사용해서 비교한다면 이것 역시 통과합니다!
Chapter 5. Conversions and Promotions (oracle.com)
If the value p being boxed is true, false, a byte, or a char in the range \u0000 to \u007f, or an int or short number between -128 and 127 (inclusive), then let r1 and r2 be the results of any two boxing conversions of p. It is always the case that r1 == r2.
ybc125 1년 전
아무리 봐도 해당 코드에서 범위 초과될 부분이 없어보이는데 반례 부탁드립니다 ㅜㅜ