8235514: Update record serialization tests to not use hard coded source versions

Reviewed-by: lancea
This commit is contained in:
Joe Darcy 2019-12-12 11:31:05 -08:00
parent 890826bf5b
commit 74882b0d0d
3 changed files with 4 additions and 6 deletions

View File

@ -43,8 +43,7 @@ public final class ConstantBootstraps {
/**
* Do not call.
*/
@Deprecated(forRemoval=true, since="14")
public ConstantBootstraps() {}
private ConstantBootstraps() {throw new AssertionError();}
// implements the upcall from the JVM, MethodHandleNatives.linkDynamicConstant:
/*non-public*/

View File

@ -46,8 +46,7 @@ public class Modifier {
/**
* Do not call.
*/
@Deprecated(forRemoval=true, since="14")
public Modifier() {}
private Modifier() {throw new AssertionError();}
/**

View File

@ -26,7 +26,7 @@
package sun.tools.util;
import sun.tools.java.*;
import static java.lang.reflect.Modifier.*;
/**
* A class whose instances are filters over Modifier bits.
@ -43,7 +43,7 @@ import sun.tools.java.*;
*/
public
class ModifierFilter extends java.lang.reflect.Modifier {
class ModifierFilter {
/**
* Package private access.