mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-22 03:55:33 +00:00
Fixed: #2486 decompilation timeout on infinite loop
This commit is contained in:
@@ -140,6 +140,7 @@ package
|
||||
TestWhileContinue;
|
||||
TestWhileDoWhile;
|
||||
TestWhileSwitch;
|
||||
TestWhileTrue;
|
||||
TestWhileTry;
|
||||
TestWhileTry2;
|
||||
TestXml;
|
||||
|
||||
16
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestWhileTrue.as
vendored
Normal file
16
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestWhileTrue.as
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestWhileTrue
|
||||
{
|
||||
public function run():*
|
||||
{
|
||||
var a:int = Math.floor(Math.random( ) * 6);
|
||||
|
||||
if (a > 4) {
|
||||
while(true) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user