Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4340

[jdktools][tools] update javac wrapper with ECJ 3.3

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JDK
    • Labels:
      None
    • Environment:
      all platforms
    • Patch Info:
      Patch Available

      Description

      After adjusting Harmony dependencies to Eclipse 3.3 (r552639), javac wrapper fork jdktools component starts to fail:

      $HY_JDK/bin/javac -version
      java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.batch.Main
      at java.net.URLClassLoader.findClass(URLClassLoader.java:894)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:575)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
      at org.apache.harmony.tools.javac.Compiler.initializeMainClass(Compiler.java:143)
      at org.apache.harmony.tools.javac.Compiler.initialize(Compiler.java:99)
      at org.apache.harmony.tools.javac.Compiler.<init>(Compiler.java:91)
      at org.apache.harmony.tools.javac.Compiler.main(Compiler.java:55)
      at org.apache.harmony.tools.javac.Main.compile(Main.java:78)
      at org.apache.harmony.tools.javac.Main.compile(Main.java:52)
      at org.apache.harmony.tools.javac.Main.main(Main.java:33)
      Uncaught exception in main:
      java.lang.NullPointerException
      at org.apache.harmony.tools.javac.Compiler.main(Compiler.java:60)
      at org.apache.harmony.tools.javac.Main.compile(Main.java:78)
      at org.apache.harmony.tools.javac.Main.compile(Main.java:52)
      at org.apache.harmony.tools.javac.Main.main(Main.java:33)

      The problem is that javac wrapper looks for "ecj_3.3M7.jar" which was switched to "ecj_3.3.jar".

        Attachments

          Activity

            People

            • Assignee:
              tony.wu Tony Wu
              Reporter:
              ipopov Ivan Popov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: