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. * Do not call.
*/ */
@Deprecated(forRemoval=true, since="14") private ConstantBootstraps() {throw new AssertionError();}
public ConstantBootstraps() {}
// implements the upcall from the JVM, MethodHandleNatives.linkDynamicConstant: // implements the upcall from the JVM, MethodHandleNatives.linkDynamicConstant:
/*non-public*/ /*non-public*/

View File

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

View File

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