[logback-dev] [JIRA] Commented: (LBCORE-210) Upgrade Janino support to latest 2.6.1

Andrey Adamovich (JIRA) noreply-jira at qos.ch
Tue Nov 8 23:58:12 CET 2011


    [ http://jira.qos.ch/browse/LBCORE-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12298#action_12298 ] 

Andrey Adamovich commented on LBCORE-210:
-----------------------------------------

org.codehaus.janino.Cookable is not even used directly by logback. it probably should be replaced with some class that code base has direct dependency on e.g. "org.codehaus.janino.CompileException"

  static public boolean isJaninoAvailable() {
    ClassLoader classLoader = EnvUtil.class.getClassLoader();
    try {
      Class bindingClass = classLoader.loadClass("org.codehaus.janino.CompileException");
      return (bindingClass != null);
    } catch (ClassNotFoundException e) {
      return false;
    }
  }


> Upgrade Janino support to latest 2.6.1
> --------------------------------------
>
>                 Key: LBCORE-210
>                 URL: http://jira.qos.ch/browse/LBCORE-210
>             Project: logback-core
>          Issue Type: Improvement
>          Components: Joran
>    Affects Versions: 0.9.28, 0.9.29
>            Reporter: Jason Klapste
>            Assignee: Ceki Gulcu
>
> Logback officially supports 2.4.3 (from 2006!) and should probably be upgraded to a more recent version.
> Janino 2.6.1 *WAS* working previously in logback (0.9.27) until EnvUtil.isJaninoAvailable()'s check was added. org.codehaus.janino.Cookable does not exist in 2.6.1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list