Compile errors with Java SE 5
-----------------------------

                 Key: BVAL-71
                 URL: https://issues.apache.org/jira/browse/BVAL-71
             Project: BeanValidation
          Issue Type: Bug
          Components: build
    Affects Versions: 0.1-incubating
            Reporter: Donald Woods
             Fix For: 0.2-incubating


Reported by Senaka -


Hi all,

Just for the record. I got these exceptions while compiling on Sun JDK
1.5.0_19, which did not appear on Sun JDK 1.6.0_16.

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Bean Validation :: bval-jsr303
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set: /home/senaka/bval/bval-jsr303/target (included:
[**], excluded: [])
[INFO] [enforcer:enforce {execution: default}]
[INFO] [buildnumber:create {execution: default}]
[INFO] [jaxb2:xjc {execution: default}]
[INFO] Generating source...
[INFO] parsing a schema...
[INFO] compiling a schema...
[INFO] org/apache/bval/jsr303/xml/AnnotationType.java
[INFO] org/apache/bval/jsr303/xml/BeanType.java
[INFO] org/apache/bval/jsr303/xml/ClassType.java
[INFO] org/apache/bval/jsr303/xml/ConstraintDefinitionType.java
[INFO] org/apache/bval/jsr303/xml/ConstraintMappingsType.java
[INFO] org/apache/bval/jsr303/xml/ConstraintType.java
[INFO] org/apache/bval/jsr303/xml/ElementType.java
[INFO] org/apache/bval/jsr303/xml/FieldType.java
[INFO] org/apache/bval/jsr303/xml/GetterType.java
[INFO] org/apache/bval/jsr303/xml/GroupSequenceType.java
[INFO] org/apache/bval/jsr303/xml/GroupsType.java
[INFO] org/apache/bval/jsr303/xml/ObjectFactory.java
[INFO] org/apache/bval/jsr303/xml/PayloadType.java
[INFO] org/apache/bval/jsr303/xml/PropertyType.java
[INFO] org/apache/bval/jsr303/xml/ValidatedByType.java
[INFO] org/apache/bval/jsr303/xml/ValidationConfigType.java
[INFO] org/apache/bval/jsr303/xml/package-info.java
[INFO] [remote-resources:process {execution: process-remote-resources}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] Copying 2 resources to META-INF
[INFO] Copying 4 resources
[INFO] Copying 4 resources
[INFO] [compiler:compile]
[INFO] Compiling 129 source files to
/home/senaka/bval/bval-jsr303/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/home/senaka/bval/bval-jsr303/src/main/java/org/apache/bval/jsr303/BeanDescriptorImpl.java:[79,48]
cannot find symbol
symbol  : method isEmpty()
location: class java.lang.String

/home/senaka/bval/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/ClassHelper.java:[54,36]
cannot find symbol
symbol  : constructor ArrayList(java.util.List<java.lang.Class>)
location: class java.util.ArrayList<java.lang.Class<?>>

/home/senaka/bval/bval-jsr303/src/main/java/org/apache/bval/jsr303/ClassValidator.java:[104,3]
method does not override a method from its superclass

/home/senaka/bval/bval-jsr303/src/main/java/org/apache/bval/jsr303/ClassValidator.java:[166,3]
method does not override a method from its superclass

/home/senaka/bval/bval-jsr303/src/main/java/org/apache/bval/jsr303/ClassValidator.java:[248,3]
method does not override a method from its superclass

/home/senaka/bval/bval-jsr303/src/main/java/org/apache/bval/jsr303/ClassValidator.java:[306,3]
method does not override a method from its superclass

/home/senaka/bval/bval-jsr303/src/main/java/org/apache/bval/jsr303/ClassValidator.java:[340,3]
method does not override a method from its superclass

/home/senaka/bval/bval-jsr303/src/main/java/org/apache/bval/jsr303/ClassValidator.java:[626,44]
cannot find symbol
symbol  : method isEmpty()
location: class java.lang.String


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 47 seconds
[INFO] Finished at: Tue Jun 29 20:54:54 LKT 2010
[INFO] Final Memory: 44M/316M
[INFO]
------------------------------------------------------------------------


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to