When using jsyntaxpane in the context of OSGi, classloader issues arise.
OSGi does not take kindly to Class.forName as this circumvents the class
loader dependency heirarchy that OSGi builds for dependency management.
Without getting too deep into OSGi, the easiest solution is to allow for an
optional classloader to be passed into the constructors of all SyntaxKits
so that the base class (DefaultSyntaxKit) can optionally use this
classloader for creating components.
Original issue reported on code.google.com by c.ca...@gmail.com on 12 Nov 2009 at 2:30
Original issue reported on code.google.com by
c.ca...@gmail.com
on 12 Nov 2009 at 2:30