Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] mvn build fails on current master, during javadoc build

Hi all,

I'm trying to build CDT on current master and see the following error:

Constructing Javadoc information...
/home/sandreev/tmp/org.eclipse.cdt/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/CPreprocessor.java:104: error: cannot access ObjectStyleMacro
        private static final ObjectStyleMacro __CDT_PARSER__ = new ObjectStyleMacro("__CDT_PARSER__".toCharArray(), //$NON-NLS-1$
                             ^
  bad class file: /home/sandreev/tmp/org.eclipse.cdt/core/org.eclipse.cdt.core/target/classes/org/eclipse/cdt/internal/core/parser/scanner/ObjectStyleMacro.class
    class file has wrong version 55.0, should be 52.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error
[INFO] execution failed with rc = 1

I trigger the build with:

mvn -e clean verify -DskipTests=true

(JAVA_HOME is pointing to Java 11)

Am I missing something, or did I pick a "bad time" to build CDT? I've tried to build on 10.1 and 10.0 tags, but that fails as well (mvn doesn't find whatever SDK build was used as base).

I didn't find a bug for this unfortunately.

Best regards and thanks,
Simeon

Back to the top