1 /**
   2  * @test
   3  * @bug 6757316
   4  * @summary load_constant() produces a wrong long constant, with high a low words swapped
   5  * @run main/othervm -Xcomp Test6757316
   6  */
   7 
   8 public class Test6757316 {
   9     public static void main(String[] args) {
  10         long[] arr = {
  11             0x11111111aaaaaaaaL,
  12             0xaaaaaaaa11111111L,
  13             0x11111111aaaaaaaaL,
  14             0xaaaaaaaa11111111L
  15         };
  16         if (arr[0] == arr[1]) {
  17             throw new InternalError();
  18         }
  19     }
  20 }