commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (EMAIL-140) Cannot build with Java 8
Date Tue, 01 Jul 2014 08:22:25 GMT

     [ https://issues.apache.org/jira/browse/EMAIL-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Neidhart resolved EMAIL-140.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.3

Fixed in r1607013.

By using a specific test profile, the easymock/powermock version is changed depending on the
java environment.

> Cannot build with Java 8
> ------------------------
>
>                 Key: EMAIL-140
>                 URL: https://issues.apache.org/jira/browse/EMAIL-140
>             Project: Commons Email
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>         Environment: 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"
>            Reporter: Gary Gregory
>             Fix For: 1.3.3
>
>
> If I build trunk with Java 8, I get:
> {noformat}
> 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
> {noformat}
> With:
> {noformat}
> 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"
> {noformat}
> With Java 7, all is well:
> {noformat}
> 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"
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message