--- old/src/jdk.rmic/share/classes/sun/tools/java/Scanner.java 2015-01-29 10:46:01.000000000 +0800 +++ new/src/jdk.rmic/share/classes/sun/tools/java/Scanner.java 2015-01-29 10:46:01.000000000 +0800 @@ -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. * * This code is free software; you can redistribute it and/or modify it @@ -58,6 +58,7 @@ * @author Arthur van Hoff */ +@SuppressWarnings("deprecation") public class Scanner implements Constants { /**