8286551: JDK-8286460 causes tests to fail to compile in Tier2

Reviewed-by: dcubed
This commit is contained in:
Calvin Cheung 2022-05-10 20:20:37 +00:00
parent dcec1d2a68
commit 070a0cda31
14 changed files with 16 additions and 2 deletions

@ -31,7 +31,7 @@ do
fname="$i$name_suffix"
cat << EOF > $fname
/*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2022, 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
@ -79,6 +79,7 @@ do
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.Platform;
public class $i extends DynamicArchiveTestBase {

@ -47,6 +47,7 @@
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.Platform;
public class MethodHandlesAsCollectorTest extends DynamicArchiveTestBase {

@ -47,6 +47,7 @@
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.Platform;
public class MethodHandlesCastFailureTest extends DynamicArchiveTestBase {

@ -47,6 +47,7 @@
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.Platform;
public class MethodHandlesGeneralTest extends DynamicArchiveTestBase {

@ -47,6 +47,7 @@
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.Platform;
public class MethodHandlesInvokersTest extends DynamicArchiveTestBase {

@ -47,6 +47,7 @@
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.Platform;
public class MethodHandlesPermuteArgumentsTest extends DynamicArchiveTestBase {

@ -47,6 +47,7 @@
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.Platform;
public class MethodHandlesSpreadArgumentsTest extends DynamicArchiveTestBase {

@ -31,7 +31,7 @@ do
fname="$i$name_suffix"
cat << EOF > $fname
/*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2022, 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
@ -78,6 +78,7 @@ do
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.cds.CDSOptions;
import jdk.test.lib.cds.CDSTestUtils;

@ -46,6 +46,7 @@
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.cds.CDSOptions;
import jdk.test.lib.cds.CDSTestUtils;

@ -46,6 +46,7 @@
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.cds.CDSOptions;
import jdk.test.lib.cds.CDSTestUtils;

@ -46,6 +46,7 @@
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.cds.CDSOptions;
import jdk.test.lib.cds.CDSTestUtils;

@ -46,6 +46,7 @@
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.cds.CDSOptions;
import jdk.test.lib.cds.CDSTestUtils;

@ -46,6 +46,7 @@
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.cds.CDSOptions;
import jdk.test.lib.cds.CDSTestUtils;

@ -46,6 +46,7 @@
import org.junit.Test;
import java.io.File;
import java.nio.file.Path;
import jdk.test.lib.cds.CDSOptions;
import jdk.test.lib.cds.CDSTestUtils;