[ https://issues.apache.org/jira/browse/MATH-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15955005#comment-15955005 ]
Gilles commented on MATH-1406: ------------------------------ Unless I'm missing something, the "ClassCastException" issue can be fixed easily: change {noformat} try { // block A } catch (ClassCastException e) { // block B } {noformat} where "block A" is trying to cast to "SomeClass", with {noformat} if (o instanceof SomeClass) { // block A } else { // block B } {noformat} And, as already noted by Michael, it's better practice. > official support for compiling on GWT 2.8 > ----------------------------------------- > > Key: MATH-1406 > URL: https://issues.apache.org/jira/browse/MATH-1406 > Project: Commons Math > Issue Type: Improvement > Reporter: Michael Borcherds > Original Estimate: 168h > Remaining Estimate: 168h > > Context: at the moment Apache Commons Math can't be compiled using GWT (to > allow it to be made into a JavaScript library for example) > http://www.gwtproject.org/ > Is there any interest in allowing Apache Commons Math to be officially > supported on GWT? > With GWT 2.8.0 the changes needed aren't too hard to get most of it to compile > You can see the diff from 3.6.1 here: > https://github.com/murkle/commons-math/issues/1 -- This message was sent by Atlassian JIRA (v6.3.15#6346)