English



I’m just wri­ting some Java code and for the thousand-and-first time the­re is some­thing like public void someMethod(AnyType a) {  if (a instanceof DerivateOfAnyType) {   DerivateOfAnyType d=(DerivateOfAnyType)a;   d.someMethodOfDerivate();  } } Even though the­se-days Java has Gene­rics, Anno­ta­ti­ons and that other cool stuff, you still have need for such casts, and […]

Autocasting in Java – An approach


5
Note: This arti­cle has been unpu­blished for qui­te some time. It’s main parts date back to Decem­ber 2007. The­re­fo­re, if some ver­si­on num­ber seem to be out­da­ted – I am refer­ring to the sta­te it had back tho­se days. We have a Java app­li­ca­ti­on with embed­ded Jython script­ing engi­ne. The […]

Jython memory leak/Out Of Memory problem