dacapo xalan

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

 



Jeroen Frijters wrote:
> David Daney wrote:
>> We cannot violate the JLS!  A method that throws a checked exception 
>> without declaring it is a bug.
> 
> Rubbish! There are several ways to throw checked exceptions:
> http://weblogs.java.net/blog/crazybob/archive/2004/09/dont_try_this_a.ht
> ml

Besides, the JLS is only relevant to compilers, not runtimes.
JVMs follow the JVM specification, which allows native methods
to throw unchekced exceptions.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux