# HG changeset patch # User darcy # Date 1546993606 28800 # Node ID 9db2dda367c645d5be1e569bbe8b1a7b56bc32e5 # Parent 0f9a83a93e52b6094ea046a294623e1a57905ea0 8216322: Missing since information in deprecation of constructor visitors Reviewed-by: vromero diff -r 0f9a83a93e52 -r 9db2dda367c6 src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor7.java --- a/src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor7.java Sat Jan 05 10:48:54 2019 +0800 +++ b/src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor7.java Tue Jan 08 16:26:46 2019 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2019, 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 @@ -68,7 +68,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected AbstractAnnotationValueVisitor7() { super(); // Superclass constructor deprecated too } diff -r 0f9a83a93e52 -r 9db2dda367c6 src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor7.java --- a/src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor7.java Sat Jan 05 10:48:54 2019 +0800 +++ b/src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor7.java Tue Jan 08 16:26:46 2019 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2018, Oacle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2019, Oacle 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 @@ -71,7 +71,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected AbstractElementVisitor7(){ super(); // Superclass constructor deprecated too } diff -r 0f9a83a93e52 -r 9db2dda367c6 src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java --- a/src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java Sat Jan 05 10:48:54 2019 +0800 +++ b/src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java Tue Jan 08 16:26:46 2019 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2019, 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 @@ -71,7 +71,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected AbstractTypeVisitor7() { super(); // Superclass constructor deprecated too } diff -r 0f9a83a93e52 -r 9db2dda367c6 src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor7.java --- a/src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor7.java Sat Jan 05 10:48:54 2019 +0800 +++ b/src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor7.java Tue Jan 08 16:26:46 2019 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2019, 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 @@ -85,7 +85,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected ElementKindVisitor7() { super(null); // Superclass constructor deprecated too } @@ -99,7 +99,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected ElementKindVisitor7(R defaultValue) { super(defaultValue); // Superclass constructor deprecated too } diff -r 0f9a83a93e52 -r 9db2dda367c6 src/java.compiler/share/classes/javax/lang/model/util/ElementScanner7.java --- a/src/java.compiler/share/classes/javax/lang/model/util/ElementScanner7.java Sat Jan 05 10:48:54 2019 +0800 +++ b/src/java.compiler/share/classes/javax/lang/model/util/ElementScanner7.java Tue Jan 08 16:26:46 2019 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2019, 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 @@ -98,7 +98,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected ElementScanner7(){ super(null); // Superclass constructor deprecated too } @@ -112,7 +112,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected ElementScanner7(R defaultValue){ super(defaultValue); // Superclass constructor deprecated too } diff -r 0f9a83a93e52 -r 9db2dda367c6 src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor7.java --- a/src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor7.java Sat Jan 05 10:48:54 2019 +0800 +++ b/src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor7.java Tue Jan 08 16:26:46 2019 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2019, 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 @@ -75,7 +75,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected SimpleAnnotationValueVisitor7() { super(null); // Superclass constructor deprecated too } @@ -89,7 +89,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected SimpleAnnotationValueVisitor7(R defaultValue) { super(defaultValue); // Superclass constructor deprecated too } diff -r 0f9a83a93e52 -r 9db2dda367c6 src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor7.java --- a/src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor7.java Sat Jan 05 10:48:54 2019 +0800 +++ b/src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor7.java Tue Jan 08 16:26:46 2019 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2019, 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 @@ -81,7 +81,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected SimpleElementVisitor7(){ super(null); // Superclass constructor deprecated too } @@ -95,7 +95,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected SimpleElementVisitor7(R defaultValue){ super(defaultValue); // Superclass constructor deprecated too } diff -r 0f9a83a93e52 -r 9db2dda367c6 src/java.compiler/share/classes/javax/lang/model/util/SimpleTypeVisitor7.java --- a/src/java.compiler/share/classes/javax/lang/model/util/SimpleTypeVisitor7.java Sat Jan 05 10:48:54 2019 +0800 +++ b/src/java.compiler/share/classes/javax/lang/model/util/SimpleTypeVisitor7.java Tue Jan 08 16:26:46 2019 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2019, 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 @@ -81,7 +81,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected SimpleTypeVisitor7(){ super(null); // Superclass constructor deprecated too } @@ -95,7 +95,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected SimpleTypeVisitor7(R defaultValue){ super(defaultValue); // Superclass constructor deprecated too } diff -r 0f9a83a93e52 -r 9db2dda367c6 src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor7.java --- a/src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor7.java Sat Jan 05 10:48:54 2019 +0800 +++ b/src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor7.java Tue Jan 08 16:26:46 2019 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2019, 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 @@ -82,7 +82,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected TypeKindVisitor7() { super(null); // Superclass constructor deprecated too } @@ -96,7 +96,7 @@ * @deprecated Release 7 is obsolete; update to a visitor for a newer * release level. */ - @Deprecated + @Deprecated(since="12") protected TypeKindVisitor7(R defaultValue) { super(defaultValue); // Superclass constructor deprecated too }