8016029: test runtime/6878713/Test6878713.sh failedSummary: Rewrote test in Java; updated the test condition to reflect latest changes in the sourceReviewed-by: dholmes, ctornqvi