[ioke-user] Re: Re: Re: Re: Re: Re: Re: Re: Re: Ikanserve on Google App Engine
- From: Ola Bini <ola.bini@gmail.com>
- To: users@ioke.kenai.com
- Subject: [ioke-user] Re: Re: Re: Re: Re: Re: Re: Re: Re: Ikanserve on Google App Engine
- Date: Sat, 11 Apr 2009 11:45:55 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=ANQFQ60yIJM2g6vxqx3S7wuK64oHVRveX44AiNYZNW0wr6CnQ2XVmuioaQzB7b+UyX HuCrPKW2lCXgG5Q9fs7RB1TMYUu548EiTYjB7fGVH1tR+pp/EL+xqEDgFmlr7nW8ePKg UQqbmEpTnF0d1bzLLPnvUjnM8C+k6h0Y20q4A=
Charles Oliver Nutter wrote:
Weird..what's the bytecode look like? Seems like it could be a compiler bug.Something like this - and it is the same on both Apple JDK 5, Apple preview JDK 6 and SoyLatte (latest stable version). I also tried with something I compiled on Linux with JDK 6 - the same problem:
public final void mUnitDecimalLiteral() throws java.lang.ArithmeticException;
Signature: ()V
Code:
Stack=1, Locals=2, Args_size=1
0: goto 6
3: astore_1
4: aload_1
5: athrow
6: return
Exception table:
from to target type
3 4 3 any
StackMapTable: number_of_entries = 2
frame_type = 67 /* same_locals_1_stack_item */
stack = [ class java/lang/Throwable ]
frame_type = 2 /* same */
Exceptions:
throws java.lang.ArithmeticException
}
Cheers
Ola Bini wrote:
Charles Oliver Nutter wrote:
What's the verification problem?If you compile something like this:
package test;
public class TrySimpleMethod {
public final void mUnitDecimalLiteral() throws ArithmeticException {
try {
// ioke.g:224:5: ()
// ioke.g:225:5:
{
}
}
finally {
}
}
}
And then try to use that class, you get this:
cannot link Java class test.TrySimpleMethod, probable missing dependency: (class: test/TrySimpleMethod, method: mUnitDecimalLiteral signature: ()V) Stack size too large
The above is an example of a kind of source that Antlr generates.
Cheers
Ola Bini wrote:
Hendrik Volkmer wrote:
Hi Ola,Extremely weird. I wonder if this is some change in the way the 64-bit compiler works... Anyway. Google is on the case at least.
I used the Mac OS Leopard Java to compile ioke:
$ java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
$ javac -version
javac 1.6.0_07
This is the WAR-dir I used to upload to app-engine:
git://github.com/hvolkmer/myikanserveengine.git
Cheers,
Hendrik
Cheers
--
Ola Bini (http://olabini.com) Ioke creator (http://ioke.org)
JRuby Core Developer (http://jruby.org)
Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)
Practical JRuby on Rails (http://apress.com/book/view/9781590598818)
"Yields falsehood when quined" yields falsehood when quined.
| Hendrik Volkmer | 04/08/2009 | |
| Ola Bini | 04/09/2009 | |
| Hendrik Volkmer | 04/09/2009 | |
| Ola Bini | 04/09/2009 | |
| Hendrik Volkmer | 04/10/2009 | |
|
[ioke-user] Re: Re: Re: Re: Re: Ikanserve on Google App Engine |
Ola Bini | 04/10/2009 |
|
[ioke-user] Re: Re: Re: Re: Re: Re: Ikanserve on Google App Engine |
Charles Oliver Nutter | 04/10/2009 |
|
[ioke-user] Re: Re: Re: Re: Re: Re: Re: Ikanserve on Google App Engine |
Ola Bini | 04/11/2009 |
|
[ioke-user] Re: Re: Re: Re: Re: Re: Re: Re: Ikanserve on Google App Engine |
Charles Oliver Nutter | 04/11/2009 |
|
[ioke-user] Re: Re: Re: Re: Re: Re: Re: Re: Re: Ikanserve on Google App Engine |
Ola Bini | 04/11/2009 |
|
[ioke-user] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Ikanserve on Google App Engine |
Charles Oliver Nutter | 04/11/2009 |





