changes to java version support in order to enable String support in Switch statements.