maven compiler tests to use external compiler only
cleanup
cleanup
remove unused code
more reliable keeping of reference on stack (following CR-IC-5487)