Re: Jogl initialisation
Posted by Penny on Dec 11, 2013; 6:29pm
URL: https://forum.jogamp.org/Jogl-initialisation-tp4030830p4030855.html
I have figured it out.
In a nutshell I needed to override the loadClass functions in my class loader.
The reason is that defineClass subsequently calls loadClass to define dependents and the parent class loader defines classes without any permissions. My class loader was then generating "Already Defined" when it tried to define the dependent classes with permissions.
By overriding the loadClass functions I ensure every class is defined with permissions.
Thank you