I should have looked into more than the diff :-)
I thought it was a standard method.

Thanks

Christian

On 21.02.2017 15:42, Bram Pouwelse wrote:
this.getClasLoader() is a custom method of the ClassLoaderObjectInputStream that is changed in the proposed fix and returns the ClassLoader from the classLoader field. this.getClass().getClassLoader() returns the ClassLoader that loaded the ClassLoaderObjectInputStream.

On Tue, Feb 21, 2017 at 3:35 PM Christian Schneider <ch...@die-schneider.net <mailto:ch...@die-schneider.net>> wrote:

    I wonder what the difference is between
    this.getClassLoader() and this.getClass().getClassLoader()

    This came up in a proposed fix for the fastbin transport in Aries RSA
    and I wonder if it should really make a difference:

    
https://github.com/pentaho-nbaker/aries-rsa/commit/20898442e2fa82baf0f03a765d5f2942129bfc25

    Christian

    --
    Christian Schneider
    http://www.liquid-reality.de

    Open Source Architect
    http://www.talend.com

    _______________________________________________
    OSGi Developer Mail List
    osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>
    https://mail.osgi.org/mailman/listinfo/osgi-dev



_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to