public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/26861]  New: VirtualMachineError in interperter.
@ 2006-03-25  2:00 daney at gcc dot gnu dot org
  2006-03-27 18:43 ` [Bug libgcj/26861] " tromey at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: daney at gcc dot gnu dot org @ 2006-03-25  2:00 UTC (permalink / raw)
  To: java-prs

While running make -k check for libjava, the testcase for PR26858 protuces a
VirtualMachineError in the interperter.


Exception in thread "main" java.lang.VirtualMachineError
   at PR26858.printV (PR26858.java:2057)
   at PR26858.main (PR26858.java:2067)
XFAIL: PR26858 execution - gij test
UNTESTED: PR26858 output - gij test


-- 
           Summary: VirtualMachineError in interperter.
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: daney 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=26861


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

* [Bug libgcj/26861] VirtualMachineError in interperter.
  2006-03-25  2:00 [Bug libgcj/26861] New: VirtualMachineError in interperter daney at gcc dot gnu dot org
@ 2006-03-27 18:43 ` tromey at gcc dot gnu dot org
  2006-05-04 15:25 ` tromey at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-03-27 18:43 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from tromey at gcc dot gnu dot org  2006-03-27 18:43 -------
The error appears to be intentional:

        jint field_offset = field->u.boffset;
        if (field_offset > 0xffff)
          throw new java::lang::VirtualMachineError;

However, I don't know what purpose this could serve.
Perhaps it is a mistake on the part of the original author,
thinking that this somehow reflects the internal limit
of 65535 fields per .class file.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-27 18:43:27
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26861


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

* [Bug libgcj/26861] VirtualMachineError in interperter.
  2006-03-25  2:00 [Bug libgcj/26861] New: VirtualMachineError in interperter daney at gcc dot gnu dot org
  2006-03-27 18:43 ` [Bug libgcj/26861] " tromey at gcc dot gnu dot org
@ 2006-05-04 15:25 ` tromey at gcc dot gnu dot org
  2006-05-04 17:35 ` tromey at gcc dot gnu dot org
  2006-05-04 17:42 ` tromey at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-05-04 15:25 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from tromey at gcc dot gnu dot org  2006-05-04 15:25 -------
I'm handling this.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |tromey at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-03-27 18:43:27         |2006-05-04 15:25:28
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26861


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

* [Bug libgcj/26861] VirtualMachineError in interperter.
  2006-03-25  2:00 [Bug libgcj/26861] New: VirtualMachineError in interperter daney at gcc dot gnu dot org
  2006-03-27 18:43 ` [Bug libgcj/26861] " tromey at gcc dot gnu dot org
  2006-05-04 15:25 ` tromey at gcc dot gnu dot org
@ 2006-05-04 17:35 ` tromey at gcc dot gnu dot org
  2006-05-04 17:42 ` tromey at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-05-04 17:35 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from tromey at gcc dot gnu dot org  2006-05-04 17:35 -------
Subject: Bug 26861

Author: tromey
Date: Thu May  4 17:35:05 2006
New Revision: 113531

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113531
Log:
        PR libgcj/26861:
        * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
        <insn_putfield>: Likewise.
        (NULLCHECK): Define unconditionally.
        * link.cc (ensure_class_linked): Removed dead code.

Modified:
    trunk/libjava/ChangeLog
    trunk/libjava/interpret.cc
    trunk/libjava/link.cc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26861


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

* [Bug libgcj/26861] VirtualMachineError in interperter.
  2006-03-25  2:00 [Bug libgcj/26861] New: VirtualMachineError in interperter daney at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-05-04 17:35 ` tromey at gcc dot gnu dot org
@ 2006-05-04 17:42 ` tromey at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-05-04 17:42 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from tromey at gcc dot gnu dot org  2006-05-04 17:42 -------
Fix checked in.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26861


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

end of thread, other threads:[~2006-05-04 17:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-25  2:00 [Bug libgcj/26861] New: VirtualMachineError in interperter daney at gcc dot gnu dot org
2006-03-27 18:43 ` [Bug libgcj/26861] " tromey at gcc dot gnu dot org
2006-05-04 15:25 ` tromey at gcc dot gnu dot org
2006-05-04 17:35 ` tromey at gcc dot gnu dot org
2006-05-04 17:42 ` 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).