juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (Jira)" <j...@apache.org>
Subject [jira] [Closed] (JUNEAU-164) Stacktrace hashing should take proxies and lamba expressions into account.
Date Sun, 17 Nov 2019 14:56:00 GMT

     [ https://issues.apache.org/jira/browse/JUNEAU-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Bognar closed JUNEAU-164.
-------------------------------
    Fix Version/s: 8.1.2
         Assignee: James Bognar
       Resolution: Fixed

> Stacktrace hashing should take proxies and lamba expressions into account.
> --------------------------------------------------------------------------
>
>                 Key: JUNEAU-164
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-164
>             Project: Juneau
>          Issue Type: Bug
>          Components: Code
>    Affects Versions: 8.1.1
>            Reporter: James Bognar
>            Assignee: James Bognar
>            Priority: Major
>             Fix For: 8.1.2
>
>
> The current stacktrace hashing doesn't take differing stacktraces due to lambda and proxy
interfaces. 
> Below are examples of stacktrace elements that are likely to often differ:
> at <package>.<class>.lambda$0(Class.java:123)
> at <package>.<class>$$Lambda$1321/123456789.doWork(Class.java:123)
> at com.sun.proxy.$Proxy123.doWork(Class.java:123)
> A simple regular expression mask might work:
> s/(\$Lambda\$[^\.]*])|(\$Proxy\d+)/MASK/g).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message