<div dir="ltr"><div><div>Thanks Martin!<br></div>The new final method on the Hashtable is <br><pre><span class="">final boolean initHashSeedAsNeeded(int capacity) </span></pre>The change went as part of the following bug fix:<br><br>[1] <a href="http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8006593">http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8006593</a><br><br></div>As for the OWB-616 jira, I did not look at the actual fix, but I assume the fix by the following comments. I might be wrong here.<br><br><div><div class="">
        <div class="">
            <a href="https://issues.apache.org/jira/browse/OWB-616#" class=""><span class=""></span></a>
            <div class="">
                
                                            </div>
            <div class="">        
    
    
    
                

    <a class="" rel="struberg" id="commentauthor_13118891_verbose" href="https://issues.apache.org/jira/secure/ViewProfile.jspa?name=struberg"><span class=""><span class=""><img src="https://issues.apache.org/jira/secure/useravatar?size=xsmall&amp;avatarId=10452"></span></span> Mark Struberg</a>
 added a comment  - <span class=""><span class="" title="01/Oct/11 19:12">01/Oct/11 19:12</span></span>  </div>
        </div>
        <div class=""><p>I now changed the checks to allow private final and public/protected static final methods.</p><p><br></p><p>Thanks</p><p>Emily<br></p> </div>
    </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 21, 2015 at 11:50 AM, Martin Kouba <span dir="ltr">&lt;<a href="mailto:mkouba@redhat.com" target="_blank">mkouba@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Emily,<br>
<br>
commments inline.<br>
<br>
Dne 21.10.2015 v 11:02 Emily Jiang napsal(a):<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
CDI specification does not allow proxying a class with non-private final<br>
methods. The java.util.Hashtable class has a<br>
non-private final method added to the class in later versions<br>
of Java, so a CDI application that previously worked may break<br>
when updating the Java level.<br>
</blockquote>
<br></span>
Just for the record: what&#39;s the name of the method?<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
This issue was logged in CDI-527.<br>
<br>
OpenWebBeans fixed this via the jira (<a href="https://issues.apache.org/jira/browse/OWB-616" rel="noreferrer" target="_blank">https://issues.apache.org/jira/browse/OWB-616</a>).<br>
</blockquote>
<br></span>
OWB-616 does not fix CDI-527 but CDI-159, i.e. a private final method does not cause a deployment problem. This works in Weld too. On the other hand, CDI-527 is still an open issue so we can&#39;t simply fix it. In theory, we could add a new feature of a non-portable mode. But non-portable mode is not intended to be commonly used. It&#39;s kind of a workaround.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
Can Weld fix this in the 2.3 or 2.2 trunk?<br>
<br>
<br>
--<br>
Thanks<br>
Emily<br>
=================<br>
Emily Jiang<br>
</span><a href="mailto:ejiang@apache.org" target="_blank">ejiang@apache.org</a> &lt;mailto:<a href="mailto:ejiang@apache.org" target="_blank">ejiang@apache.org</a>&gt;<br>
<br>
<br>
_______________________________________________<br>
weld-dev mailing list<br>
<a href="mailto:weld-dev@lists.jboss.org" target="_blank">weld-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/weld-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Martin Kouba<br>
Software Engineer<br>
Red Hat, Czech Republic<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Thanks<br>Emily<br>=================<br>Emily Jiang<br><a href="mailto:ejiang@apache.org" target="_blank">ejiang@apache.org</a><br></div>
</div>