Uploaded image for project: 'Hibernate Validator'
  1. Hibernate Validator
  2. HV-1377

StackOverflowError during compilation with annotation-processor enabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.1.Final, 6.0.0.Beta2
    • Fix Version/s: 5.4-next, 6.0.0.CR1
    • Component/s: annotation-processor
    • Labels:
      None
    • Environment:
      OS: Windows 10
      JDK: jdk1.8.0_112

      Description

      Hi,
      I'm getting stackOverflow error on compilation phase in my project.
      It seems, that annotation-processor tries to analyze objects, which have circullar
      dependency and creates endless loop.
      Here is minimal example of project with such issue:
      https://github.com/gladorange/hv-issue

      just try to build it with "mvn clean install"

      This issue presents in 6.X.X branch also, but not in 5.3.5.Final.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: