[ 
https://issues.apache.org/jira/browse/THRIFT-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

alessandro rossi updated THRIFT-1146:
-------------------------------------

    Description: 
Android support IOException(throwable) only at level 9 (Android 2.3)

in /thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc

3841      indent(out) << "  } catch (org.apache.thrift.TException te) {" << 
endl;

3842      indent(out) << "    throw new java.io.IOException(te);" << endl;

3843      indent(out) << "  }" << endl;



3856      indent(out) << "  } catch (org.apache.thrift.TException te) {" << 
endl;

3857      indent(out) << "    throw new java.io.IOException(te);" << endl;

3858      indent(out) << "  }" << endl;


this issue was introduced at revision 1063907, Wed Jan 26 22:42:02 2011 UTC

  was:
Android support IOException(throwable) only at level 9 (Android 2.3)

in /thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc

3841      indent(out) << "  } catch (org.apache.thrift.TException te) {" << 
endl;
3842      indent(out) << "    throw new java.io.IOException(te);" << endl;
3843      indent(out) << "  }" << endl;

3856      indent(out) << "  } catch (org.apache.thrift.TException te) {" << 
endl;
3857      indent(out) << "    throw new java.io.IOException(te);" << endl;
3858      indent(out) << "  }" << endl;

this issue was introduced at revision 1063907, Wed Jan 26 22:42:02 2011 UTC


> Android Incompatibility : in Android < 2.3 java.io.IOException doesn't 
> support for Throwable parameter in constructor
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1146
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1146
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Compiler
>    Affects Versions: 0.7
>         Environment: android < 2.3 (level < 9)
>            Reporter: alessandro rossi
>              Labels: android
>
> Android support IOException(throwable) only at level 9 (Android 2.3)
> in /thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc
> 3841    indent(out) << "  } catch (org.apache.thrift.TException te) {" << 
> endl;
> 3842    indent(out) << "    throw new java.io.IOException(te);" << endl;
> 3843    indent(out) << "  }" << endl;
> 3856    indent(out) << "  } catch (org.apache.thrift.TException te) {" << 
> endl;
> 3857    indent(out) << "    throw new java.io.IOException(te);" << endl;
> 3858    indent(out) << "  }" << endl;
> this issue was introduced at revision 1063907, Wed Jan 26 22:42:02 2011 UTC

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to