I perpared a bsh file A.bsh and sourced it like below
and a changed the code blocks (not method names) and re-sourced it.

Below code block returns duplicate entries in merhods array.

BshMethod[] methods = interpreter.getNameSpace().getMethods();
This may cause problems.

How can I solve this problem. (Is there any way to remove BshMethod from namespace)


Mehmet Döngel