Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4235028 authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by android-build-merger
Browse files

Merge "Exclude java namespace classes from layoutlib" into nyc-dev

am: 3e2b413d

* commit '3e2b413d':
  Exclude java namespace classes from layoutlib
parents 31c3688d 3e2b413d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -438,7 +438,8 @@ public class AsmAnalyzer {

            try {
                // exclude classes that are part of the default JRE (the one executing this program)
                if (getClass().getClassLoader().loadClass(className) != null) {
                if (className.startsWith("java.") ||
                        getClass().getClassLoader().loadClass(className) != null) {
                    return;
                }
            } catch (ClassNotFoundException e) {