[hibernate-issues] [Hibernate-JIRA] Updated: (HV-498) When adding annotations processor compiler get's broken

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Jun 20 06:34:53 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HV-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Ferentschik updated HV-498:
---------------------------------

      Description: 
I get:
{noformat}
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/et2448/projects/payment/pays/pays-core/pays-core-service/src/test/java/com/edb/payment/pays/core/test/PaysTestContext.java:[58,44] incompatible types
found   : com.edb.payment.pays.core.model.channel.Channel
required: com.edb.payment.pays.core.model.channel.Channel
[INFO] 1 error
{noformat}

The declaration at 58 is:
{code}
Channel paymentChannel() default Channel.INT;
{code}

and fully legal.
Everything works OK if not adding the annotations processor.

  was:
I get:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/et2448/projects/payment/pays/pays-core/pays-core-service/src/test/java/com/edb/payment/pays/core/test/PaysTestContext.java:[58,44] incompatible types
found   : com.edb.payment.pays.core.model.channel.Channel
required: com.edb.payment.pays.core.model.channel.Channel
[INFO] 1 error


The declaration at 58 is:
Channel paymentChannel() default Channel.INT;

and fully legal.
Everything works OK if not adding the annotations processor.

    Fix Version/s: 4.x

> When adding annotations processor compiler get's broken
> -------------------------------------------------------
>
>                 Key: HV-498
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-498
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: annotation-processor
>    Affects Versions: 4.2.0.CR1
>         Environment: sun jdk 1.6.0_26
> maven 3
>            Reporter: David J. M. Karlsen
>             Fix For: 4.x
>
>
> I get:
> {noformat}
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /home/et2448/projects/payment/pays/pays-core/pays-core-service/src/test/java/com/edb/payment/pays/core/test/PaysTestContext.java:[58,44] incompatible types
> found   : com.edb.payment.pays.core.model.channel.Channel
> required: com.edb.payment.pays.core.model.channel.Channel
> [INFO] 1 error
> {noformat}
> The declaration at 58 is:
> {code}
> Channel paymentChannel() default Channel.INT;
> {code}
> and fully legal.
> Everything works OK if not adding the annotations processor.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list