src/java.base/share/classes/sun/misc/JarFilter.java

Print this page

        

@@ -32,12 +32,14 @@
  * <p>
  * This class checks that only jar and zip files are included in the file list.
  * This class is used in extension installation support (ExtensionDependency).
  * <p>
  *
+ * @deprecated this class will be removed in a future release.
  * @author  Michael Colburn
  */
+@Deprecated
 public class JarFilter implements FilenameFilter {
 
     public boolean accept(File dir, String name) {
         String lower = name.toLowerCase();
         return lower.endsWith(".jar") || lower.endsWith(".zip");