1) ELSupport.coerceToNumber() cannot coerce java.math.BigDecimal to java.lang.Number which is basically a no-op. This is a regression from 6.0.16. Test-case: @Test public void testNumberCoercion() { BigDecimal d = new BigDecimal("23"); try { Assert.assertEquals(d, ELSupport.coerceToNumber(d, Number.class)); } catch (IllegalArgumentException ex) { fail("conversion failed"); } } 2) BigDecimal is immutable. The code to convert from BigDecimal to BigDecimal should therefore return its input, not a copy. (ELSupport.java line 235)
*** This bug has been marked as a duplicate of bug 43656 ***
> *** This bug has been marked as a duplicate of bug 43656 *** I only searched open issues before creating a new ticket. Sorry ...