You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello again :)
I've been wondering if it's possible to decompile a class given the class object so I started experimenting.
Flow seems pretty straightforward: find the .class inside the jar, extract, and proceed from there.
However, I hit a NPE for resolve-class-from-file. I thought I'd float this before I go digging, maybe I just missed something fundamental.
Hello Ben! Do you have a particular usecase in mind? Absolute most Clojure libraries are distributed with sources only, no AOT (so no classes in the JAR). Do you want to use it just for Clojure's own functions (which happen to be AOT-compiled)?
I've been thinking about the cases where we interop with Java code. Most JARs aren't distributed with source but it would be nice to be able to peek in a class to see what goes on. IntelliJ, for example, allows you to jump into a Java class seamlessly.
Hello again :)
I've been wondering if it's possible to decompile a class given the class object so I started experimenting.
Flow seems pretty straightforward: find the
.class
inside the jar, extract, and proceed from there.However, I hit a NPE for
resolve-class-from-file
. I thought I'd float this before I go digging, maybe I just missed something fundamental.See my additions below:
The text was updated successfully, but these errors were encountered: