Why doesn't "Catch class filters" exclusion work?
Answered
I have "Any exception" enabled, but excluded "java.net.*" in "Catch class filters". Still IDE stops at:
Exception 'java.lang.ClassNotFoundException' occurred in thread 'main' at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
Please sign in to leave a comment.
Interestingly this works when "-java.net.*" is changed to "-java.*". Ideally I would like to have "-java.net.URLClassLoader", but that doesn't work either.
What does this evaluate to at the breakpoint?
this = Launcher$ExtClassLoader
seems like a a derived class of URLClassLoader: http://www.docjar.com/docs/api/sun/misc/Launcher$ExtClassLoader.html
I have -sun.* in the settings as well. Wonder if the wildcard is not matching the inner class.
I tried sun.misc.Launcher$ExtClassLoader in the exclude list and it works.
So my problem is solved.
Thanks for the help.