| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -559,15 +559,14 @@ static private void packageListFromZip(String filename, StringList list) { | |||
| 559 | 559 | if (!entry.isDirectory()) { | |
| 560 | 560 | String name = entry.getName(); | |
| 561 | 561 | ||
| 562 | - if (name.endsWith(".class")) { | ||
| 562 | + // Avoid META-INF because some jokers but .class files in there | ||
| 563 | + // https://github.com/processing/processing/issues/5778 | ||
| 564 | + if (name.endsWith(".class") && !name.startsWith("META-INF/")) { | ||
| 563 | 565 | int slash = name.lastIndexOf('/'); | |
| 564 | - if (slash == -1) continue; | ||
| 565 | - | ||
| 566 | - String pname = name.substring(0, slash); | ||
| 567 | - // if (map.get(pname) == null) { | ||
| 568 | - // map.put(pname, new Object()); | ||
| 569 | - // } | ||
| 570 | - list.appendUnique(pname); | ||
| 566 | + if (slash != -1) { | ||
| 567 | + String packageName = name.substring(0, slash); | ||
| 568 | + list.appendUnique(packageName); | ||
| 569 | + } | ||
| 571 | 570 | } | |
| 572 | 571 | } | |
| 573 | 572 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,8 @@ X fix an editor problem with plain text (css, etc) files | |||
| 7 | 7 | X https://github.com/processing/processing/issues/5628 | |
| 8 | 8 | X default to using Desktop methods for URLs and files when available on Linux | |
| 9 | 9 | X also cover a few weird cases that were failing silently | |
| 10 | - | ||
| 10 | + X The package "META" does not exist when .class files found in META-INF folder | ||
| 11 | + X https://github.com/processing/processing/issues/5778 | ||
| 11 | 12 | ||
| 12 | 13 | contrib | |
| 13 | 14 | X update translation of "sketch" for Russian speakers | |
| Back | FazBrowse Home | New Git URL |
0 commit comments