You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Daniel Ezequiel Montivero (JIRA)" <ji...@apache.org> on 2019/02/25 13:13:00 UTC
[jira] [Updated] (JCI-77) Support Java 8 compiler-eclipse
[ https://issues.apache.org/jira/browse/JCI-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Ezequiel Montivero updated JCI-77:
-----------------------------------------
Description:
When using the Eclipse compiler, I am unable to use java 1.8 because is missing on
*org.apache.commons.jci.compilers.EclipseJavaCompilerSettings*
{noformat}
private static Map<String, String> nativeVersions = new HashMap<String, String>() { private static final long serialVersionUID = 1L;
{
put("1.1", CompilerOptions.VERSION_1_1);
put("1.2", CompilerOptions.VERSION_1_2);
put("1.3", CompilerOptions.VERSION_1_3);
put("1.4", CompilerOptions.VERSION_1_4);
put("1.5", CompilerOptions.VERSION_1_5);
put("1.6", CompilerOptions.VERSION_1_6);
put("1.7", CompilerOptions.VERSION_1_7);
//MISSING HERE THE 1.8 KEY-CONSTANT }};{noformat}
The new *ecj-4.10* support java 8 and with that the fix is pretty straightforward.
was:
When using the Eclipse compiler, I am unable to use java 1.8 because is missing on
*org.apache.commons.jci.compilers.EclipseJavaCompilerSettings*
private static Map<String, String> nativeVersions = new HashMap<String, String>() { private static final long serialVersionUID = 1L;
{
put("1.1", CompilerOptions.VERSION_1_1);
put("1.2", CompilerOptions.VERSION_1_2);
put("1.3", CompilerOptions.VERSION_1_3);
put("1.4", CompilerOptions.VERSION_1_4);
put("1.5", CompilerOptions.VERSION_1_5);
put("1.6", CompilerOptions.VERSION_1_6);
put("1.7", CompilerOptions.VERSION_1_7); //MISSING HERE THE 1.8 KEY-CONSTANT }};
The new *ecj-4.10* support java 8 and with that the fix is pretty straightforward.
> Support Java 8 compiler-eclipse
> -------------------------------
>
> Key: JCI-77
> URL: https://issues.apache.org/jira/browse/JCI-77
> Project: Commons JCI
> Issue Type: Improvement
> Components: compiler eclipse
> Affects Versions: 1.1
> Reporter: Daniel Ezequiel Montivero
> Priority: Major
>
> When using the Eclipse compiler, I am unable to use java 1.8 because is missing on
> *org.apache.commons.jci.compilers.EclipseJavaCompilerSettings*
>
> {noformat}
> private static Map<String, String> nativeVersions = new HashMap<String, String>() { private static final long serialVersionUID = 1L;
> {
> put("1.1", CompilerOptions.VERSION_1_1);
> put("1.2", CompilerOptions.VERSION_1_2);
> put("1.3", CompilerOptions.VERSION_1_3);
> put("1.4", CompilerOptions.VERSION_1_4);
> put("1.5", CompilerOptions.VERSION_1_5);
> put("1.6", CompilerOptions.VERSION_1_6);
> put("1.7", CompilerOptions.VERSION_1_7);
> //MISSING HERE THE 1.8 KEY-CONSTANT }};{noformat}
>
> The new *ecj-4.10* support java 8 and with that the fix is pretty straightforward.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)