src/share/classes/sun/tools/java/Environment.java

Print this page

        

@@ -646,10 +646,11 @@
 
     /**
      * Return true if an implicit cast from this type to
      * the given type is allowed.
      */
+    @SuppressWarnings("fallthrough")
     public boolean implicitCast(Type from, Type to) throws ClassNotFound {
         if (from == to)
             return true;
 
         int toTypeCode = to.getTypeCode();