Skip to content

add a new flag into the config to enable/disable the error-prone #288

@stevehu

Description

@stevehu

There are several issues with error-prone when moving to JDK11. For the light platform, we have moved to the latest version of error-prone and it works with the maven build system. However, you need to install a plugin if you are using IntelliJ IDEA to run/debug the code inside the IDE.

https://doc.networknt.com/tool/idea/errorprone-plugin/

For the platform developers, they can take this extra step; however, I don't think we should put the burden to the application developers. I am thinking to make the error-prone as optional with default as disabled in the config.json from light-codegen. If developers want to use it, they can always add/update the flag in the config.json to enable it.

This will allow the generated application to be compiled from jdk8 to jdk12.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions