asserting java 7