< prev index next >
test/compiler/interpreter/Test6539464.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 24,37 ****
/**
* @test
* @bug 6539464
* @summary Math.log() produces inconsistent results between successive runs.
*
! * @run main/othervm -Xcomp -XX:CompileOnly=Test.main Test
*/
! public class Test {
static double log_value = 17197;
static double log_result = Math.log(log_value);
public static void main(String[] args) throws Exception {
for (int i = 0; i < 1000000; i++) {
--- 24,41 ----
/**
* @test
* @bug 6539464
* @summary Math.log() produces inconsistent results between successive runs.
*
! * @run main/othervm -Xcomp
! * -XX:CompileCommand=compileonly,compiler.interpreter.Test6539464::main
! * compiler.interpreter.Test6539464
*/
! package compiler.interpreter;
!
! public class Test6539464 {
static double log_value = 17197;
static double log_result = Math.log(log_value);
public static void main(String[] args) throws Exception {
for (int i = 0; i < 1000000; i++) {
< prev index next >