public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/14781] New: Need flag to disable bytecode verification
@ 2004-03-30  5:43 rmathew at hotmail dot com
  2004-03-30  5:50 ` [Bug libgcj/14781] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rmathew at hotmail dot com @ 2004-03-30  5:43 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-05-25 15:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-30  5:43 [Bug libgcj/14781] New: Need flag to disable bytecode verification rmathew at hotmail dot com
2004-03-30  5:50 ` [Bug libgcj/14781] " pinskia at gcc dot gnu dot org
2004-05-31 14:33 ` rmathew at gcc dot gnu dot org
2004-10-28 17:14 ` tromey at gcc dot gnu dot org
2005-05-25 15:16 ` [Bug libgcj/14781] disable bytecode verification for bootclasspath tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).