jdk/src/jdk.rmic/share/classes/sun/rmi/rmic/Main.java
changeset 28856 1c525c8d1cf7
parent 27565 729f9700483a
child 43812 a6e3407e9f32
equal deleted inserted replaced
28855:fd65ec779433 28856:1c525c8d1cf7
     1 /*
     1 /*
     2  * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   674 
   674 
   675     /*
   675     /*
   676      * Compile a single class.
   676      * Compile a single class.
   677      * Fallthrough is intentional
   677      * Fallthrough is intentional
   678      */
   678      */
   679     @SuppressWarnings("fallthrough")
   679     @SuppressWarnings({"fallthrough", "deprecation"})
   680     public boolean compileClass (ClassDeclaration c,
   680     public boolean compileClass (ClassDeclaration c,
   681                                  ByteArrayOutputStream buf,
   681                                  ByteArrayOutputStream buf,
   682                                  BatchEnvironment env)
   682                                  BatchEnvironment env)
   683         throws ClassNotFound,
   683         throws ClassNotFound,
   684                IOException,
   684                IOException,