Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.1-incubating
    • Fix Version/s: 0.2-incubating
    • Component/s: build
    • Labels:
      None

      Description

      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]
      ------------------------------------------------------------------------

        Activity

        Hide
        Donald Woods added a comment -

        Remaining errors were fixed using BVAL-70 and verified using 1.5.0_24 and 1.6.0_20 on MacOSX.

        Show
        Donald Woods added a comment - Remaining errors were fixed using BVAL-70 and verified using 1.5.0_24 and 1.6.0_20 on MacOSX.
        Hide
        Donald Woods added a comment -

        ClassValidator errors seem related to r957034

        Show
        Donald Woods added a comment - ClassValidator errors seem related to r957034

          People

          • Assignee:
            Donald Woods
            Reporter:
            Donald Woods
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development