changeset 17701:2ec9d358de7d

Remove assert no longer applicable
author mchung
date Sun, 11 Sep 2016 17:34:12 -0700
parents 5253fa0f3dda
children 2c928653b204
files src/jdk.jartool/share/classes/sun/tools/jar/Main.java
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.jartool/share/classes/sun/tools/jar/Main.java	Sun Sep 11 07:31:39 2016 +0100
+++ b/src/jdk.jartool/share/classes/sun/tools/jar/Main.java	Sun Sep 11 17:34:12 2016 -0700
@@ -817,7 +817,6 @@
     }
 
     private static String toPackageName(String path) {
-        assert path.endsWith(".class");
         int index = path.lastIndexOf('/');
         if (index != -1) {
             return path.substring(0, index).replace('/', '.');