Comments (4)
CLDC's lang.TestExceptionCatchUp
test reproduces this error.
from squirreljme.
Result from reproduced test:
DBUG1 jl.Throwable::<init> @ 2Ah (:136) -- new Throwable(`TEST`)
DBUG1 nmt.__CoreTest__::__equals @ CAh (:629) -- NoSuchElementException ?= IllegalArgumentException
DBUG1 nmt.__CoreTest__::__equals @ CAh (:629) -- RuntimeException ?= IllegalArgumentException
DBUG1 nmt.__CoreTest__::__equals @ CAh (:629) -- Exception ?= IllegalArgumentException
DBUG1 nmt.__CoreTest__::__equals @ CAh (:629) -- Throwable ?= IllegalArgumentException
java.util.NoSuchElementException: TEST
at java/lang/Exception.<init>:(Ljava/lang/String;)V @ 2 (Exception.java:40)
at java/lang/RuntimeException.<init>:(Ljava/lang/String;)V @ 2 (RuntimeException.java:39)
at java/util/NoSuchElementException.<init>:(Ljava/lang/String;)V @ 2 (NoSuchElementException.java:38)
at lang/TestExceptionCatchUp.levelB:()Ljava/lang/String; @ 6 (TestExceptionCatchUp.java:41)
at lang/TestExceptionCatchUp.levelA:()Ljava/lang/String; @ 1 (TestExceptionCatchUp.java:31)
at lang/TestExceptionCatchUp.test:()Ljava/lang/String; @ 1 (TestExceptionCatchUp.java:53)
at lang/TestExceptionCatchUp.test:()Ljava/lang/Object; @ 1 (TestExceptionCatchUp.java:21)
at net/multiphasicapps/tac/TestSupplier.__runTest:([Ljava/lang/Object;)Ljava/lang/Object; @ 16 (TestSupplier.java:45)
at net/multiphasicapps/tac/__CoreTest__.runTest:([Ljava/lang/String;)V @ 250 (__CoreTest__.java:123)
at net/multiphasicapps/tac/__CoreTest__.startApp:()V @ 5 (__CoreTest__.java:285)
at java/lang/Thread.__start:()V @ 173 (Thread.java:658)
lang.TestExceptionCatchUp: FAIL
RV ExceptionThrown ExceptionThrown
TH throwable:java.util.NoSuchElementException,java.lang.RuntimeException,Exception,Throwable:TEST throwable:IllegalArgumentException
TODO1 js.AccessController::checkPermission @ 18h (:36) -- Check permission: ("java.lang.RuntimePermission" "exitVM.1")
TODO0 nmi.DeflaterOutputStream::<init> (:93) -- Implement fixed and dynamic huffman!
from squirreljme.
I believe this is caused in cases where an exception is to be handled, but it is thrown by a method which is on a return. So after returns, checks need to be done to see if there is an exception to handle.
from squirreljme.
Fixed. The cause of this error was that when a method is invoked the frame is setup and the pc is advanced, when an exception happens in a sub-frame when it is checked it just checks the PC address of the frame above and not the last PC address (where the pointer was at).
from squirreljme.
Related Issues (20)
- NOTICE: Please ask questions in Discussions!
- Third-Party Support: Danger Hiptop (aka T-Mobile Sidekick)
- BinTray Has Been Sunset HOT 1
- Execution might get stuck while handling references.
- `invokespecial` on non-`private` fails to work. HOT 2
- How to run javajme on retroarch?
- JSR 205: Wireless Messaging API 2.0 Support
- JUnit Test Time is in seconds HOT 1
- Third-Party Support: Danger Hiptop HOT 1
- Third-Party Support: NTT DoCoMo Star API
- Can I use this to play j2me on ios 3? HOT 4
- ratroarch
- ratroarch
- Please porting this emulator to nintendo 3ds or nintendo switch
- Third-Party Support: J-Phone
- 关于支持retroarch HOT 2
- Version 0.4.0 switching to Mozilla Public License 2.0+
- Support for Japanese Fonts
- Command Line GUI Program for Launching
- Retroarch web player HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squirreljme.