Skip to content

Commit

Permalink
Exclude generated lambda methods from being checked
Browse files Browse the repository at this point in the history
Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
  • Loading branch information
arjantijms committed Feb 14, 2024
1 parent 471e50f commit c2d9b6d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*
* * Copyright (c) 2024 Contributors to Eclipse Foundation.
* Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -849,7 +850,7 @@ public void facesCtxISEAfterReleaseTest(HttpServletRequest request,
Method method = methods[i];
String name = method.getName();

if (!isExcluded(name, exMethods)) {
if (!isExcluded(name, exMethods) && !name.startsWith("lambda$")) {
Class<?>[] types = method.getParameterTypes();
Object[] params = new Object[types.length];

Expand Down

0 comments on commit c2d9b6d

Please sign in to comment.