judovana / java-runtime-decompiler

GNU General Public License v3.0
68 stars 14 forks source link

duality of equals/match on toString of classlaoder is leading to unrecognizable loaders if pattern.compile fails #261

Closed judovana closed 9 months ago

judovana commented 9 months ago

It is necessary to move all if loader.equals || loader.matches to separate mathod, and do not attempt to match if pattern can not compile.

If ti does compile, it would be nice to cache the compiled version.

judovana commented 9 months ago

should be resolved via https://github.com/judovana/java-runtime-decompiler/commit/1b6cd60fed9ccf4ff4fa8163d7f04d49f2be3fda