Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8251132: make main classes public in vmTestbase/jit tests
Reviewed-by: kvn
  • Loading branch information
iignatev committed Aug 5, 2020
1 parent 6d6fd5f commit e635c5f1cf7b1b18a0f3a45e85a053ce51c164b3
Show file tree
Hide file tree
Showing 138 changed files with 366 additions and 498 deletions.
@@ -32,15 +32,14 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.DivTest.DivTest
* @run driver ExecDriver --java jit.DivTest.DivTest
* @run main/othervm jit.DivTest.DivTest
*/

package jit.DivTest;

import nsk.share.TestFailure;

class DivTest{
public class DivTest{
static int n;
static boolean test1 (int n1, int n2) {
try {
@@ -29,15 +29,14 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.FloatingPoint.gen_math.Filtering.Filtering
* @run driver ExecDriver --java jit.FloatingPoint.gen_math.Filtering.Filtering
* @run main/othervm jit.FloatingPoint.gen_math.Filtering.Filtering
*/

package jit.FloatingPoint.gen_math.Filtering;

import nsk.share.TestFailure;

class Filtering
public class Filtering
{
static int N = 1000;
static double xx[];
@@ -29,15 +29,14 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.FloatingPoint.gen_math.Loops01.Loops01
* @run driver ExecDriver --java jit.FloatingPoint.gen_math.Loops01.Loops01
* @run main/othervm jit.FloatingPoint.gen_math.Loops01.Loops01
*/

package jit.FloatingPoint.gen_math.Loops01;

import nsk.share.TestFailure;

class Loops01
public class Loops01
{

static final int N = 500;
@@ -30,16 +30,15 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.FloatingPoint.gen_math.Loops02.Loops02
* @run driver ExecDriver --java jit.FloatingPoint.gen_math.Loops02.Loops02
* @run main/othervm jit.FloatingPoint.gen_math.Loops02.Loops02
*/

package jit.FloatingPoint.gen_math.Loops02;

// Test working with loops and random functions.
import nsk.share.TestFailure;

class Loops02
public class Loops02
{

static final int N = 300;
@@ -30,15 +30,14 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.FloatingPoint.gen_math.Loops03.Loops03
* @run driver ExecDriver --java jit.FloatingPoint.gen_math.Loops03.Loops03
* @run main/othervm jit.FloatingPoint.gen_math.Loops03.Loops03
*/

package jit.FloatingPoint.gen_math.Loops03;

import nsk.share.TestFailure;

class Loops03
public class Loops03
{

static final int N = 100000;
@@ -29,16 +29,15 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.FloatingPoint.gen_math.Loops04.Loops04
* @run driver ExecDriver --java jit.FloatingPoint.gen_math.Loops04.Loops04
* @run main/othervm jit.FloatingPoint.gen_math.Loops04.Loops04
*/

package jit.FloatingPoint.gen_math.Loops04;

// Test working with nested loops.
import nsk.share.TestFailure;

class Loops04
public class Loops04
{

public static void main (String args[])
@@ -29,15 +29,14 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.FloatingPoint.gen_math.Loops05.Loops05
* @run driver ExecDriver --java jit.FloatingPoint.gen_math.Loops05.Loops05
* @run main/othervm jit.FloatingPoint.gen_math.Loops05.Loops05
*/

package jit.FloatingPoint.gen_math.Loops05;

import nsk.share.TestFailure;

class Loops05
public class Loops05
{

static final int N = 100;
@@ -29,15 +29,14 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.FloatingPoint.gen_math.Loops06.Loops06
* @run driver ExecDriver --java jit.FloatingPoint.gen_math.Loops06.Loops06
* @run main/othervm jit.FloatingPoint.gen_math.Loops06.Loops06
*/

package jit.FloatingPoint.gen_math.Loops06;

import nsk.share.TestFailure;

class Loops06
public class Loops06
{

static final int N = 20;
@@ -29,8 +29,7 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.FloatingPoint.gen_math.Loops07.Loops07
* @run driver ExecDriver --java jit.FloatingPoint.gen_math.Loops07.Loops07
* @run main/othervm jit.FloatingPoint.gen_math.Loops07.Loops07
*/

package jit.FloatingPoint.gen_math.Loops07;
@@ -41,7 +40,7 @@

import nsk.share.TestFailure;

class Loops07
public class Loops07
{

public static void main (String args[])
@@ -29,8 +29,7 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.FloatingPoint.gen_math.Matrix_3d.Matrix_3d
* @run driver ExecDriver --java jit.FloatingPoint.gen_math.Matrix_3d.Matrix_3d
* @run main/othervm jit.FloatingPoint.gen_math.Matrix_3d.Matrix_3d
*/

package jit.FloatingPoint.gen_math.Matrix_3d;
@@ -40,7 +39,7 @@

import nsk.share.TestFailure;

class Matrix_3d
public class Matrix_3d
{

public static void main (String args[])
@@ -29,8 +29,7 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.FloatingPoint.gen_math.Summ.Summ
* @run driver ExecDriver --java jit.FloatingPoint.gen_math.Summ.Summ
* @run main/othervm jit.FloatingPoint.gen_math.Summ.Summ
*/

package jit.FloatingPoint.gen_math.Summ;
@@ -39,7 +38,7 @@

import nsk.share.TestFailure;

class Summ
public class Summ
{
public static void main (String args[])
{
@@ -29,16 +29,15 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.Robert.Robert
* @run driver ExecDriver --java jit.Robert.Robert
* @run main/othervm jit.Robert.Robert
*/

package jit.Robert;

import java.io.*;
import nsk.share.TestFailure;

class Robert
public class Robert
{
Robert()
throws Exception
@@ -29,15 +29,14 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.Sleeper.Sleeper
* @run driver ExecDriver --java jit.Sleeper.Sleeper
* @run main/othervm jit.Sleeper.Sleeper
*/

package jit.Sleeper;

import nsk.share.TestFailure;

class Sleeper {
public class Sleeper {
public static void main(String args[] ) {
System.out.println ("1");
try { Thread.sleep(1000); } catch (InterruptedException e) {}
@@ -29,8 +29,7 @@
*
* @library /vmTestbase
* /test/lib
* @build jit.bounds.bounds
* @run driver ExecDriver --java jit.bounds.bounds
* @run main/othervm jit.bounds.bounds
*/

package jit.bounds;
@@ -40,7 +39,7 @@

import nsk.share.TestFailure;

class bounds {
public class bounds {
public static void main(String[] argv) {
int i;
int a[] = new int[2];
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 2020, Oracle and/or its affiliates. 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