function (required string name){ }; throws Expecting a stackmap frame at branch

Description

<cfscript> function(required string name){ }; </cfscript>

throws

Expecting a stackmap frame at branch target 9 Exception Details: Location: main1623607366052_44b70a1d_6930_6eae_c885_b74abeb39b55_cfm7020$cf$83s.udfDefaultValue(Llucee/runtime/PageContext;IILjava/lang/Object;)Ljava/lang/Object; @2: if_icmpeq Reason: Expected stackmap frame at this location. Bytecode: 0x0000000: 1c03 9f00 0703 a700 0404 9900 191d 039f 0x0000010: 0007 03a7 0004 0499 0009 1904 b0a7 0003 0x0000020: a700 0319 04b0

https://trycf.com/gist/57448d82eb920a7f943197b4ec47a2dd/lucee5?theme=monokai

Environment

None

relates to

Activity

Show:

Zac Spitzer 31 August 2021 at 10:43

yeah, it’s fine with 5.3.9.4, closing

Pothys - MitrahSoft 31 August 2021 at 10:34

Did you saw my above comment? Did you reproduce the issue with your local?

Pothys - MitrahSoft 14 June 2021 at 07:15

I've checked this ticket with lucee version 5.3.8.184-SNAPSHOT and 5.3.7.48. The above code didn't throw any error in my local. The error throws with trycf only. Could you please check that with your local and report here back?

Fixed

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 13 June 2021 at 18:06
Updated 24 November 2022 at 14:33
Resolved 31 August 2021 at 10:43

Flag notifications