[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-dev
Subject:    [jira] [Commented] (COCOON-2366) XSP block doesn't compile with Java 8
From:       "Alfred Nathaniel (JIRA)" <jira () apache ! org>
Date:       2019-02-21 16:22:00
Message-ID: JIRA.13217248.1550765738000.343405.1550766120390 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/COCOON-2366?page=com.atlassian.jira.plugin \
.system.issuetabpanels:comment-tabpanel&focusedCommentId=16774256#comment-16774256 ] 

Alfred Nathaniel commented on COCOON-2366:
------------------------------------------

Retaining Javac, Jikes, and Pizza compilers as options is rather nostalgic.  The \
Eclipse JDT compiler included in the standard Cocoon distribution is quite \
sufficient.

> XSP block doesn't compile with Java 8
> -------------------------------------
> 
> Key: COCOON-2366
> URL: https://issues.apache.org/jira/browse/COCOON-2366
> Project: Cocoon
> Issue Type: Improvement
> Components: Blocks: XSP
> Affects Versions: 2.1.12
> Reporter: Alfred Nathaniel
> Priority: Major
> Fix For: 2.1.13
> 
> 
> Cocoon 2.1.12 provides as option to use the JDK compiler for XSPs.  The Javac class \
> calls internal APIs no longer available in recent Java versions.  Since Java 6 the \
> standard API javax.tool.JavaCompiler is provided. Source code to compile with Java \
> 5 and Java 6 would need to do indirect class loading calls.  Better to drop Java 5 \
> support in Cocoon and declare 1.6 to be the minimum version,



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic