Uploaded image for project: 'Commons Email'
  1. Commons Email
  2. EMAIL-140

Cannot build with Java 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • 1.3.3
    • None

    Description

      If I build trunk with Java 8, I get:

      Tests in error:
        HtmlEmailTest.initializationError » IllegalState Failed to transform class wit...
        ImageHtmlEmailTest.initializationError » IllegalState Failed to transform clas...
        MultiPartEmailTest.initializationError » IllegalState Failed to transform clas...
      
      Tests run: 125, Failures: 0, Errors: 3, Skipped: 1
      

      With:

      Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T09:51:42-04:00)
      Maven home: C:\Java\apache-maven-3.2.2
      Java version: 1.8.0_05, vendor: Oracle Corporation
      Java home: C:\Program Files\Java\jdk1.8.0_05\jre
      Default locale: en_US, platform encoding: Cp1252
      OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
      

      With Java 7, all is well:

      Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T09:51:42-04:00)
      Maven home: C:\Java\apache-maven-3.2.2
      Java version: 1.7.0_60, vendor: Oracle Corporation
      Java home: C:\Program Files\Java\jdk1.7.0_60\jre
      Default locale: en_US, platform encoding: Cp1252
      OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: