--- old/src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor8.java 2018-07-08 12:29:48.070001000 -0700 +++ new/src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor8.java 2018-07-08 12:29:47.930001000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2018, 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 @@ -79,6 +79,7 @@ * Constructor for concrete subclasses to call; uses {@code null} * for the default value. */ + @SuppressWarnings("deprecation") // Superclass constructor deprecated protected TypeKindVisitor8() { super(null); } @@ -89,6 +90,7 @@ * * @param defaultValue the value to assign to {@link #DEFAULT_VALUE} */ + @SuppressWarnings("deprecation") // Superclass constructor deprecated protected TypeKindVisitor8(R defaultValue) { super(defaultValue); }