Skip to content

Commit

Permalink
8286551: JDK-8286460 causes tests to fail to compile in Tier2
Browse files Browse the repository at this point in the history
Backport-of: 070a0cda31f83a3cf18a612b91c30d66cf407c3c
  • Loading branch information
GoeLin committed Sep 26, 2022
1 parent 3b48de5 commit 6230aa8
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

1 comment on commit 6230aa8

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.