Tag

ClassLoading

0 views collected around this technical thread.

DeWu Technology
DeWu Technology
Jan 17, 2024 · Mobile Development

Analysis of R8 Class Reflection Optimization and Obfuscation Issues in Android Builds

The article explains how a missing keep rule caused R8’s pre‑AGP 8 reflection optimizer to skip a class because its interface wasn’t in the allowed set, leading to the class name being obfuscated and mismatched in static‑block initialization via Class.forName, and describes the optimizer’s behavior and fixes.

AGPAndroidClassLoading
0 likes · 8 min read
Analysis of R8 Class Reflection Optimization and Obfuscation Issues in Android Builds
Selected Java Interview Questions
Selected Java Interview Questions
Aug 7, 2023 · Backend Development

Understanding Java Class Loading, the Parent Delegation Model, and Tomcat’s Custom ClassLoaders

This article reviews Java’s default class‑loading mechanism, explains the parent‑delegation model, discusses how it can be broken, and details Tomcat’s custom class‑loader architecture that intentionally deviates from the standard delegation to achieve web‑application isolation and hot‑swap capabilities.

ClassLoadingTomcatbackend development
0 likes · 13 min read
Understanding Java Class Loading, the Parent Delegation Model, and Tomcat’s Custom ClassLoaders