Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Workaround for JDK8/Maven bug? #151

@dminkovsky

Description

@dminkovsky

I am affected by this JDK8 bug with annotation processing. When I attempt to build my project without cleaning first, I get:

[INFO] Compiling 22 source files to /Users/dmitry/dev/project/stream/target/classes
An exception has occurred in the compiler (1.8.0_74). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.j
ava.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.IllegalStateException: endPosTable already set
        at com.sun.tools.javac.util.DiagnosticSource.setEndPosTable(DiagnosticSource.java:136)
        at com.sun.tools.javac.util.Log.setEndPosTable(Log.java:350)

This is forcing me to clean my build every time I want to compile. I'd like to be able to build without cleaning. Does anyone know a workaround for this issue?

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