~ubuntu-branches/ubuntu/karmic/classpath/karmic

« back to all changes in this revision

Viewing changes to tools/resource/gnu/classpath/tools/rmic/templates/StubMethod.jav

  • Committer: Bazaar Package Importer
  • Author(s): Manny Vindiola, Manny Vindiola, James Westby
  • Date: 2008-12-18 21:24:48 UTC
  • mfrom: (1.1.6 upstream) (8.2.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081218212448-ax2jaxx9r5175dkl
Tags: 2:0.97.2-1.1ubuntu1
[ Manny Vindiola ]
* Merge from debian unstable (LP: #309549)(LP: #237668), remaining changes:
  * debian/control:
    - Recommend firefox instead of mozilla-firefox.
  * Fix FTBFS caused by -Werror where return value of 'chdir' was ignored
    - add debian/patches/20_fix_ftbfs_warn_unused_result.dpatch
    - update debian/patches/00list
  * fix LP: #272772: packages that Depend/Recommend/Suggest firefox
     (meta-package) must alternatively Depend/Recommend/Suggest abrowser
* Fix FTBFS due to missing mozilla-plugin build dependency 
  - changed to build-depends on libxul-dev instead of iceape-dev

[ James Westby ]
* Add libsamplerate0-dev to Build-Depends to fix build error by not being
  able to find the .a file from it. This is a dependency of jack, but not
  specified in it's depends. This is probably due to bug 258491, and so if
  that is fixed try building without the extra Build-Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
  /** @inheritDoc */
 
2
  public #return_type #method_name(#argument_list) #throws
 
3
  {
 
4
    try
 
5
      {
 
6
        InputStream in = null;
 
7
        try
 
8
          {
 
9
             OutputStream out = 
 
10
               (OutputStream) _request("#giop_method_name", true);
 
11
#argument_write                
 
12
             in = _invoke(out);
 
13
             #read_return
 
14
          }
 
15
        catch (ApplicationException ex)
 
16
          {
 
17
             in = ex.getInputStream();
 
18
             throw new UnexpectedException(in.read_string());
 
19
          }
 
20
        catch (RemarshalException ex)
 
21
          {
 
22
             return #method_name(#argument_names);
 
23
          }
 
24
        finally
 
25
          {
 
26
             _releaseReply(in);
 
27
          }
 
28
        }
 
29
    catch (SystemException ex)
 
30
      {
 
31
        throw Util.mapSystemException(ex);
 
32
      }
 
33
   }