I don't know which class you are flying.
But the carry-on tolerance for domestic US flights seldom applies to international flights, especially non-US carriers.
Anyway, you have to do all the paperwork check(very extensive) at CX JFK and they will probably ask you to check the bag.