java fixes for vs 2010