kamalchopra / jsyntaxpane

Automatically exported from code.google.com/p/jsyntaxpane
0 stars 0 forks source link

r095-jdk5: DefaultSyntaxKit.getConfig(Class<? extends DefaultSyntaxKit> kit) isn't recursive #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
// recursive call until we read the Super duper DefaultSyntaxKit
Class superKit = kit.getSuperclass();
Configuration defaults = CONFIGS.get(superKit)  // should be:
getConfig(superKit);
Configuration mine = new Configuration(kit, defaults);
loadConfig(mine, kit);

Original issue reported on code.google.com by pmues...@e2e.ch on 3 Jun 2009 at 11:30

GoogleCodeExporter commented 9 years ago
I think this was fixed in the main JDK6 branch.

I'm not maintaining the JDK5 branch.  

Any takers?

Original comment by ayman.al...@gmail.com on 11 Jun 2009 at 1:22

GoogleCodeExporter commented 9 years ago
I have compared the classes from branch r095-jdk5 and r095. You are right, it 
has been fixed for JDK6 but nor 
for JDK5. I've made the changes and committed them to the r095-jdk5 branch. It 
works now.

Original comment by stefan.b...@googlemail.com on 27 Sep 2009 at 10:24