Fix for Java bindings compilation after change in Port inheritance in a6657320b9ddc7a613231847b107b4245e0a9c38