package sfBugs;

import java.math.BigDecimal;

public class RFE2891944 {
	
	public static void main(String args[]) {
		
		BigDecimal bd = new BigDecimal(0.1);
		System.out.println(bd);
	}

}

@@ -66,17 +66,16 @@
 91944 %7B%0A
-%09
 %0A%09public
@@ -91,32 +91,212 @@
 oid 
-main(String args%5B%5D) %7B%0A%09%09
+bug1() %7B%0A%09%09BigDecimal bd = new BigDecimal(0.1);%0A%09%09System.out.println(bd);%0A%09%7D%0A%09public static void bug2() %7B%0A%09%09BigDecimal bd = new BigDecimal(100.0);%0A%09%09System.out.println(bd);%0A%09%7D%0A%09public static void bug3() %7B
 %0A%09%09B
@@ -317,35 +317,35 @@
  new BigDecimal(
-0.1
+1.0
 );%0A%09%09System.out.

Test cases for BigDecimal detector (for RFE 2891944)