[Bug libgcj/14781] New: Need flag to disable bytecode verification

rmathew at hotmail dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 30 05:43:00 GMT 2004


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



More information about the Gcc-bugs mailing list