Commit b591ed4
committed
AdaptedScriptLanguage: handle null PluginInfo
This can happen with wrapped ScriptEngineFactories, since the
ScriptLanguageIndex wraps them using the appropriate
AdaptedScriptLanguage constructor. In that case, there is no associated
PluginInfo, and getLanguageName should simply delegate to the adapted
ScriptEngineFactory's language name.1 parent 271128e commit b591ed4
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
103 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
0 commit comments