diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-10-01 09:04:58 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-10-01 09:04:58 +0000 |
commit | 3b2b8f91ff22b93050b9b1aa3da5bd4359182499 (patch) | |
tree | 3e37aa664496da562640735b168da4dcc08bb737 /stoc/source/javavm/javavm.cxx | |
parent | 257b3205cae2665a96492b806df10faf884a4e99 (diff) |
CWS-TOOLING: integrate CWS sb93
Diffstat (limited to 'stoc/source/javavm/javavm.cxx')
-rw-r--r-- | stoc/source/javavm/javavm.cxx | 45 |
1 files changed, 1 insertions, 44 deletions
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx index 2650b2620a50..22c8dc780b89 100644 --- a/stoc/source/javavm/javavm.cxx +++ b/stoc/source/javavm/javavm.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: javavm.cxx,v $ - * $Revision: 1.78 $ + * $Revision: 1.78.14.1 $ * * This file is part of OpenOffice.org. * @@ -31,49 +31,6 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_stoc.hxx" -/* - Code generation bug within Sun CC 5.2 on solaris sparc - Please check the following code against your compiler version before enabling - the optimization (when the program runs correct, it should print - 1 - 2 - ), otherwise nothing. The bug has crashed the - initVMConfiguration function, which can be found in this file. - -#include <stdio.h> - -static void b() {}; -struct E { ~E(){ b(); } }; - -void a() -{ - throw 42; -} - - -int main( int argc, char * argv[]) -{ - E e1; - try - { - a(); - } - catch( int i ) - { - } - try - { - // this output never appears with CC -O test.cxx - fprintf( stderr,"1\n" ); - } - catch( E & e ) - { - } - // this output never appears with CC -O test.cxx - fprintf( stderr, "2\n" ); -} -*/ - #include "javavm.hxx" #include "interact.hxx" |