Bug #452658 - Fixed MOXy TCK tests run with JDK7.

Signed-off-by: Martin Vojtek <martin.vojtek@oracle.com>
Reviewed-by: Marcel Valovy
Reviewed-by: Iaroslav Savytskyi