< prev index next >

test/hotspot/jtreg/runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/ArrayIndexOutOfBoundsExceptionTest.java

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
   * Copyright (c) 2018, 2019 SAP SE. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
--- 1,7 ---
  /*
!  * Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.
   * Copyright (c) 2018, 2019 SAP SE. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as

*** 24,18 ***
  
  /**
   * @test
   * @summary Test extended ArrayIndexOutOfBoundsException message. The
   *   message lists information about the array and the indexes involved.
-  * @comment This will run in 'normal' mode when Graal is not enabled, else
-  *   Graal mode.
   * @run testng ArrayIndexOutOfBoundsExceptionTest
   */
  /**
   * @test
-  * @requires !vm.graal.enabled
-  * @comment These test C1 and C2 so make no sense when Graal is enabled.
   * @run testng/othervm/timeout=480 -Xcomp -XX:-TieredCompilation  ArrayIndexOutOfBoundsExceptionTest
   * @run testng/othervm/timeout=480 -Xcomp -XX:TieredStopAtLevel=1 ArrayIndexOutOfBoundsExceptionTest
   */
  
  import java.io.ByteArrayInputStream;
--- 24,14 ---
< prev index next >