Skip to content

Java 11 compatibility #80

@wetneb

Description

@wetneb

Running mvn test with OpenJDK 11 I get a lot of compilation failures which seem to be due to the change of coordinates of the javax classes (I think this is related to the JDK version).

[ERROR] /home/antonin/osr-common/tooling/sweble-wikitext/sweble-wikitext-components-parent/swc-engine/src/main/java/org/sweble/wikitext/engine/ParserFunctionBase.java:[23,33] package javax.xml.bind.annotation does not exist
[ERROR] /home/antonin/osr-common/tooling/sweble-wikitext/sweble-wikitext-components-parent/swc-engine/src/main/java/org/sweble/wikitext/engine/ParserFunctionBase.java:[24,33] package javax.xml.bind.annotation does not exist
[ERROR] /home/antonin/osr-common/tooling/sweble-wikitext/sweble-wikitext-components-parent/swc-engine/src/main/java/org/sweble/wikitext/engine/ParserFunctionBase.java:[25,42] package javax.xml.bind.annotation.adapters does not exist
[ERROR] /home/antonin/osr-common/tooling/sweble-wikitext/sweble-wikitext-components-parent/swc-engine/src/main/java/org/sweble/wikitext/engine/ParserFunctionBase.java:[26,42] package javax.xml.bind.annotation.adapters does not exist
[ERROR] /home/antonin/osr-common/tooling/sweble-wikitext/sweble-wikitext-components-parent/swc-engine/src/main/java/org/sweble/wikitext/engine/ParserFunctionBase.java:[34,2] cannot find symbol
[ERROR]   symbol: class XmlTransient
[ERROR] /home/antonin/osr-common/tooling/sweble-wikitext/sweble-wikitext-components-parent/swc-engine/src/main/java/org/sweble/wikitext/engine/ParserFunctionBase.java:[35,2] cannot find symbol
[ERROR]   symbol: class XmlJavaTypeAdapter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions