EXXETA / sonar-esql-plugin

Sonar plugin to analyze ESQL-sourcecode of IBM Integration Bus projects
Apache License 2.0
35 stars 34 forks source link

Parse error on ESQL CREATE FUNCTION with CLASSLOADER keyword #116

Closed djshea closed 4 years ago

djshea commented 4 years ago

ESQL CREATE FUNCTION returns parse error if the CLASSLOADER keyword is used. For example....

CREATE FUNCTION MyFunc( IN param01 CHAR ) RETURNS CHARACTER LANGUAGE JAVA EXTERNAL NAME "abc.def.myStuff" CLASSLOADER "{My_Java_SharedLib}";

will return a parse error pointing to the line with the CLASSLOADER keyword.

ThomasPohl commented 4 years ago

Thanks for your bug report. I added a fix and will include it in the next bugfix release. I think you are the first using the plugin to parse classloader settings. Issue #39 exists for 2 years now and no-one was interested in it. ;)