GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [java] AssertionError when outer class is parsed before inner class with conflicting visibility · Issue #6932 · pmd/pmd Closed DescriptionAffected version
DescriptionWhen PMD loads an Android dependency processed by R8, This is related to #5283 and #5310, but exercises the opposite lazy-loading order. The fix in #5310 removes In the failing order, calls for one inner.setModifiers(Opcodes.ACC_PRIVATE, false); // outer InnerClasses entry inner.setModifiers(Opcodes.ACC_PUBLIC | Opcodes.ACC_SUPER, true); // inner ClassInfo inner.setModifiers(Opcodes.ACC_PUBLIC, false); // inner self-entry The result is Minimal bytecode shapeThe issue can be reproduced without the original dependency by generating two classes with ASM:
This models the inconsistent but parseable metadata observed in an R8-processed Android AAR. No source-level Java declaration can express the contradictory metadata. ExceptionExpected behaviorMerging class-header and
Activity
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |