Removed the workaround, the problem is too deep to fix without deep changes to the fundamentals of JavaLib. Closed #58.