<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word"><head><META content="text/html; charset=iso-8859-2" http-equiv="Content-Type">
<meta content="text/html; charset=iso-8859-2" http-equiv="Content-Type">
<meta content="Microsoft Word 12 (filtered medium)" name="Generator">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head><BODY>
<DIV>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Akkor működik. Kipróbáltam private inner class-szal, azzal működik. Igaz, hogy a classloader megkeresi és betölti a declared class-okat is a class-szal együtt.
De az anonymous az nem declared class.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Csak és kizárólag akkor van baj, ha másik thread-ben próbálok meg olyan metódust meghívni, amelyik névtelen osztályt példányosítana.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:12.0pt;line-height:150%;text-autospace:none">
<span style="font-size:8.0pt;line-height:150%;font-family:"Arial","sans-serif";color:gray">______________________________<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:8.0pt;page-break-after:avoid;text-autospace:none">
<b><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878">István Ketler<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878">Senior Consultant<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878">Lufthansa Systems Hungária Kft.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878">GUI Service Center<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878">Mobile Solutions Team, Development Center Danube<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878">Neumann János u. 1/e<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878">1117 Budapest<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878">Hungary<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878">Phone: +36 1 887-2815<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878">Fax: +36 1 887-0577<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878">Mobile: +36 30 600-4936<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="HU" style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#787878">E-mail:
</span><span lang="HU" style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1F497D"><a href="mailto:istvan.ketler@LHsystems.com">istvan.ketler@LHsystems.com</a></span><span lang="DE" style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="HU" style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#1F497D"><a href="http://www.lhsystems.com/">www.LHsystems.com</a><o:p></o:p></span></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div></DIV>
<DIV>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"> </P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><SPAN STYLE="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial">Sitz der Gesellschaft / Corporate Headquarters: </SPAN><SPAN LANG="EN-GB" STYLE="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">Lufthansa Systems Hungaria Kft, Budapest, Fovarosi Birosag 01-09-463417<BR></SPAN><SPAN STYLE="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial">Geschaeftsfuehrung / Management Board: Peter Sipos</SPAN></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><BR></P>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><div class="WordSection1"><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> javalist-bounces@lists.javaforum.hu [mailto:javalist-bounces@lists.javaforum.hu]
<b>On Behalf Of </b>Gábor Garami<br>
<b>Sent:</b> Tuesday, April 16, 2013 9:19 AM<br>
<b>To:</b> Java lista<br>
<b>Subject:</b> Re: [Javalist] Classloader anonymous gond<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">MI volna, ha az anonim osztalyt nevesitened? Az add() meghivasa nem lesz trivialis, de legfeljebb atadsz egy this referenciat is melle. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal">Garami Gábor<br>
E-mail: <a href="mailto:gabor.garami@hron.me" target="_blank">gabor.garami@hron.me</a><br>
Tel: +36 20 235 9621<br>
MSN: <a href="mailto:hrgy@vipmail.hu" target="_blank">hrgy@vipmail.hu</a><br>
Skype: hron84<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2013/4/16 <<a href="mailto:istvan.ketler@lhsystems.com" target="_blank">istvan.ketler@lhsystems.com</a>><o:p></o:p></p>
<p class="MsoNormal">Péter, ebben eddig is biztos voltam, csak azt nem tudom hogy mit bökök el, mit nem vettem észre. Bár nem a klasszikus "parent first" módszert használom, de hát ezt több élő és kifogástalanul működő keretrendszer vagy alkalmazás konténer/szerver
is teszi. Nem nagyon tudom már hogy merre induljak...<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<br>
István Ketler<br>
Senior Consultant<br>
<br>
Lufthansa Systems Hungária Kft.<br>
GUI Service Center<br>
Mobile Solutions Team, Development Center Danube<br>
Neumann János u. 1/e<br>
1117 Budapest<br>
Hungary<br>
Phone: <a href="tel:%2B36%201%C2%A0887-2815">+36 1 887-2815</a><br>
Fax: <a href="tel:%2B36%201%C2%A0887-0577">+36 1 887-0577</a><br>
Mobile: <a href="tel:%2B36%2030%C2%A0600-4936">+36 30 600-4936</a><br>
E-mail: <a href="mailto:istvan.ketler@LHsystems.com">istvan.ketler@LHsystems.com</a><br>
<a href="http://www.LHsystems.com" target="_blank">www.LHsystems.com</a><br>
<br>
<br>
<br>
<br>
Sitz der Gesellschaft / Corporate Headquarters: Lufthansa Systems Hungaria Kft, Budapest, Fovarosi Birosag 01-09-463417<br>
Geschaeftsfuehrung / Management Board: Peter Sipos<o:p></o:p></p>
</div>
<p class="MsoNormal">-----Original Message-----<br>
<br>
From: <a href="mailto:javalist-bounces@lists.javaforum.hu">javalist-bounces@lists.javaforum.hu</a> [mailto:<a href="mailto:javalist-bounces@lists.javaforum.hu">javalist-bounces@lists.javaforum.hu</a>] On Behalf Of Peter Verhas<br>
Sent: Tuesday, April 16, 2013 8:28 AM<br>
To: <a href="mailto:javalist@lists.javaforum.hu">javalist@lists.javaforum.hu</a><o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Subject: Re: [Javalist] Classloader anonymous gond<br>
<br>
<br>
<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">Quoting <a href="mailto:istvan.ketler@lhsystems.com">istvan.ketler@lhsystems.com</a>:<br>
<br>
> Azt mar tudom hogy ugyanabbol a threadbol muxik masikbol nem<br>
><br>
<br>
Akkor egyértelműen class loader probléma.<br>
<br>
<br>
Dipl. Ing. Peter Verhas<br>
<a href="mailto:peter@verhas.com">peter@verhas.com</a><br>
skype: verhas<br>
<a href="tel:%2B41%2079%20154%202095">+41 79 154 2095</a><br>
<br>
----------------------------------------------------------------<br>
This message was sent using IMP, the Internet Messaging Program.<br>
_______________________________________________<br>
Javalist mailing list<br>
<a href="mailto:Javalist@lists.javaforum.hu">Javalist@lists.javaforum.hu</a><br>
<a href="http://lists.javaforum.hu/mailman/listinfo/javalist" target="_blank">http://lists.javaforum.hu/mailman/listinfo/javalist</a><br>
_______________________________________________<br>
Javalist mailing list<br>
<a href="mailto:Javalist@lists.javaforum.hu">Javalist@lists.javaforum.hu</a><br>
<a href="http://lists.javaforum.hu/mailman/listinfo/javalist" target="_blank">http://lists.javaforum.hu/mailman/listinfo/javalist</a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</P></DIV></BODY></HTML>