From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30699 invoked by alias); 30 Mar 2004 05:43:50 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 30522 invoked by uid 48); 30 Mar 2004 05:43:49 -0000 Date: Tue, 30 Mar 2004 05:43:00 -0000 From: "rmathew at hotmail dot com" To: java-prs@gcc.gnu.org Message-ID: <20040330054337.14781.rmathew@hotmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/14781] New: Need flag to disable bytecode verification X-Bugzilla-Reason: CC X-SW-Source: 2004-q1/txt/msg00041.txt.bz2 List-Id: There is currently no way to disable bytecode verification of loaded classes in gij, except by either commenting out the call to _Jv_VerifyMethod( ) in libjava/resolve.cc or by emptying out the body of that method in libjava/verify.cc and then recompiling the whole of libgcj! Needless to say this is quite tedious. Sun's JVMs support the following flags that should be implemented by gij as well: -noverify Do not do bytecode verification. -verify Verify *all* loaded bytecode. In addition, Sun's JVMs do not verify the classes in the bootstrap CLASSPATH by default, unless explicitly instructed by using the "-verify" flag. Again, gij could benefit from this "optimisation". -- Summary: Need flag to disable bytecode verification Product: gcc Version: 3.5.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rmathew at hotmail dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14781