Uploaded image for project: 'Commons JCI'
  1. Commons JCI
  2. JCI-77

[PATCH] Support Java 8 compiler-eclipse

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1
    • None
    • compiler eclipse
    • None

    Description

      JCI-77_-_Support_Java_8_compiler-eclipse.patch

      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 but maybe is required to add that dependency.

       

      Attachments

        1. JCI-77_-_Support_Java_8_compiler-eclipse.patch
          3 kB
          Daniel Ezequiel Montivero

        Activity

          People

            Unassigned Unassigned
            daniel.montivero Daniel Ezequiel Montivero
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: