[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug libgcj/27294] gij throws NullPointerException, when the interpreter is not enabled

------- Comment #1 from tromey at gcc dot gnu dot org  2006-05-04 18:10 -------
It isn't clear what exception we ought to throw here.

What is happening is that we've found a .class file for a class
we're searching for, but libgcj is not configured to properly
handle class files.

VirtualMachineError would be ok from a spec. point of view.
But it is a bit unfriendly.  This is what I'm leaning toward.

ClassFormatError would also be legal but it is a bit of a lie.


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-05-04 18:10:30
               date|                            |


------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.

Reply to: