Why doesn't "Catch class filters" exclusion work?

已回答

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)

 

 

0

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.

0

What does this evaluate to at the breakpoint?

0

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.

 

0

请先登录再写评论。