Buggy code:
public class FastMathTest { private static final double MAX_ERROR_ULP = 0.51 ; private static final int NUMBER_OF_TRIALS = 1000 ; private static final double [ ] DOUBLE_SPECIAL_VALUES = new double [ ] { - 0.0 , + 0.0 , Double . NaN , Double . NEGATIVE_INFINITY , Double . POSITIVE_INFINITY , - ( Double . MAX_VALUE ) , Double . MAX_VALUE , - ( MathUtils . EPSILON ) , MathUtils . EPSILON , - ( MathUtils . SAFE_MIN ) , MathUtils . SAFE_MIN , - ( Double . MIN_VALUE ) , Double . MIN_VALUE } ; private static final float [ ] FLOAT_SPECIAL_VALUES = new float [ ] { - 0.0F , + 0.0F , Float . NaN , Float . NEGATIVE_INFINITY , Float . POSITIVE_INFINITY , Float . MIN_VALUE , Float . MAX_VALUE , - ( Float . MIN_VALUE ) , - ( Float . MAX_VALUE ) } ; private DfpField field ; private RandomGenerator generator ; @ Before public void setUp ( ) { } @ Test public void testMinMaxDouble ( ) { } @ Test public void testMinMaxFloat ( ) { } @ Test public void testConstants ( ) { } @ Test public void testAtan2 ( ) { } @ Test public void testHyperbolic ( ) { } @ Test public void testHyperbolicInverses ( ) { } @ Test public void testLogAccuracy ( ) { } @ Test public void testLog10Accuracy ( ) { } @ Test public void testLog1pAccuracy ( ) { } @ Test public void testLogSpecialCases ( ) { } @ Test public void testExpSpecialCases ( ) { } @ Test public void testPowSpecialCases ( ) { } @ Test public void testAtan2SpecialCases ( ) { } @ Test public void testPowAccuracy ( ) { } @ Test public void testExpAccuracy ( ) { } @ Test public void testSinAccuracy ( ) { } @ Test public void testCosAccuracy ( ) { } @ Test public void testTanAccuracy ( ) { } @ Test public void testAtanAccuracy ( ) { } @ Test public void testAtan2Accuracy ( ) { } @ Test public void testExpm1Accuracy ( ) { } @ Test public void testAsinAccuracy ( ) { } @ Test public void testAcosAccuracy ( ) { } private Dfp cosh ( Dfp x ) { } private Dfp sinh ( Dfp x ) { } private Dfp tanh ( Dfp x ) { } @ Test public void testSinhAccuracy ( ) { } @ Test public void testCoshAccuracy ( ) { } @ Test public void testTanhAccuracy ( ) { } @ Test public void testCbrtAccuracy ( ) { } private Dfp cbrt ( Dfp x ) { } @ Test public void testToDegrees ( ) { } @ Test public void testToRadians ( ) { } private static void reportError ( String message ) { <START_BUG> final boolean fatal = false ; <END_BUG> if ( fatal ) { Assert . fail ( message ) ; } else { System . out . println ( message ) ; } } private abstract static class SpecialComparer { abstract void compareSpecials ( Method mathMethod , Method fastMethod ) throws Exception { } void check ( Method mathMethod , float f , Object expected , Object actual , int entry ) { } void check ( Method mathMethod , double d , Object expected , Object actual , int entry ) { } } private static class CompareFloatSpecials extends FastMathTest . SpecialComparer { @ Override public void compareSpecials ( Method mathMethod , Method fastMethod ) throws Exception { } } private static class CompareDoubleSpecials extends FastMathTest . SpecialComparer { @ Override public void compareSpecials ( Method mathMethod , Method fastMethod ) throws Exception { } } private void testSpecialCases ( Class < ? > type , FastMathTest . SpecialComparer comparer ) throws Exception { } @ Test public void testFloatSpecialCases ( ) throws Exception { } @ Test public void testDoubleSpecialCases ( ) throws Exception { } @ Ignore @ Test public void testPerformance ( ) { } }

Fix:
final boolean fatal = true ;