Java class exclusions is case and slash (/ \) sensitive

0 Likes

Problem:

I'm trying to (un) exclude some java classes, but they're still being profiled!

Resolution:

When you exclude Java classes, make sure that you use the exact case that you're trying to exclude.  If you have your classes in a COM.MyCompany package, you can *not* use com\mycompany\* to exclude them

Also, you can't exclude classes using the java import style syntax, you have to exclude them in the format that the VM uses internally to refer to them.  This means that on Windows, you need to use COM\MyCompany\* to exclude this company's classes.  On UNIX, you should use COM/MyCompany/* instead.

Old KB# 11968
Comment List
Anonymous
Related Discussions
Recommended