Ole Ersoy a écrit :

Emmanuel,


Suppose I was using an old jar. Why does my test pass then?

I told you three times that the bug happens ONLY if you run the test with a log4j in DEBUG mode, otherwise the toString() method is _never_ called. This is why your test pass when you don't use the logging file.

It only fails if I rename the logging file. So that means that somehow renaming the logging file tells the class loader to load from a different jar. Does that make sense?

No, this is non-sense. Read my responses.


You understand this better than I do. All I understand is that if I rename the logging file, I get the exception. As long as the logging file is there, everyone is happy. So if you think this is fine, then we can close the issue.

I expect you to close this issue, you opened it ! And you won't be happy until you find the reason...

Emmanuel.

PS: I suggest you stop debugging the test for a while, keep it somewhere aside, and have a good sleep. Tomorrow you will be fresh, and suddenly under your shower you will understand what happens.

Reply via email to