Fix #1806 by nullifying the visible scope of public members of java classes.
Issue #1806: provide  .src and un@Ignore test