Grep for specific jvm bytecode pattern?

I have used findbugs before. The problem is, it lists out all these EI_EXPOSE_REP violations. I want to specifically look for the assignments in our source code.

– Ajay Oct 21 at 20:44 well one way to avoid accidental settings of these arrays is to make sure that you never return them in the first place - by returning copies, etc. – matt be Oct 21 at 21:04 yes thats what I ended up doing, but still I would like to find out which part of the source code is doing this. – Ajay Oct 24 at 21:21.

Tools like the Eclipse debugger allow for data watchpoints (eg: object modified). That will cause the debugger to stop immediately on the exact line of code that is modifying the object in question. The only trick is you need to put a breakpoint in at object creation so that you can identify the object you want to watch.

One of our customers reported NPE at their installations and digging deeper, I found out that one of the elements is being nullified.. So eclipse debugger is ruled out – Ajay Oct 24 at 21:19.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions