8069255: Suppress deprecation warnings in jdk.rmic module (jdk repo)
Reviewed-by: rriggs
This commit is contained in:
parent
7c67f47c4d
commit
3bf803f0c9
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -61,6 +61,7 @@ import sun.tools.java.ClassPath;
|
|||||||
* they are subject to change or removal without notice.
|
* they are subject to change or removal without notice.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public class BatchEnvironment extends sun.tools.javac.BatchEnvironment {
|
public class BatchEnvironment extends sun.tools.javac.BatchEnvironment {
|
||||||
|
|
||||||
/** instance of Main which created this environment */
|
/** instance of Main which created this environment */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -676,7 +676,7 @@ public class Main implements sun.rmi.rmic.Constants {
|
|||||||
* Compile a single class.
|
* Compile a single class.
|
||||||
* Fallthrough is intentional
|
* Fallthrough is intentional
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("fallthrough")
|
@SuppressWarnings({"fallthrough", "deprecation"})
|
||||||
public boolean compileClass (ClassDeclaration c,
|
public boolean compileClass (ClassDeclaration c,
|
||||||
ByteArrayOutputStream buf,
|
ByteArrayOutputStream buf,
|
||||||
BatchEnvironment env)
|
BatchEnvironment env)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1994, 2006, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1994, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -39,6 +39,7 @@ import java.util.Enumeration;
|
|||||||
* supported API. Code that depends on them does so at its own risk:
|
* supported API. Code that depends on them does so at its own risk:
|
||||||
* they are subject to change or removal without notice.
|
* they are subject to change or removal without notice.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public final
|
public final
|
||||||
class BinaryClass extends ClassDefinition implements Constants {
|
class BinaryClass extends ClassDefinition implements Constants {
|
||||||
BinaryConstantPool cpool;
|
BinaryConstantPool cpool;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1994, 2006, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1994, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -41,6 +41,7 @@ import sun.tools.tree.UplevelReference;
|
|||||||
* supported API. Code that depends on them does so at its own risk:
|
* supported API. Code that depends on them does so at its own risk:
|
||||||
* they are subject to change or removal without notice.
|
* they are subject to change or removal without notice.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public
|
public
|
||||||
class ClassDefinition implements Constants {
|
class ClassDefinition implements Constants {
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1994, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -44,6 +44,7 @@ import java.util.HashMap;
|
|||||||
* supported API. Code that depends on them does so at its own risk:
|
* supported API. Code that depends on them does so at its own risk:
|
||||||
* they are subject to change or removal without notice.
|
* they are subject to change or removal without notice.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public
|
public
|
||||||
class MemberDefinition implements Constants {
|
class MemberDefinition implements Constants {
|
||||||
protected long where;
|
protected long where;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1994, 2004, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1994, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -58,6 +58,7 @@ import java.util.Hashtable;
|
|||||||
* @author Arthur van Hoff
|
* @author Arthur van Hoff
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public
|
public
|
||||||
class Scanner implements Constants {
|
class Scanner implements Constants {
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user