diff --git a/build.gradle b/build.gradle index e533a7fe26..936725963f 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,7 @@ configure(allprojects) { targetCompatibility=1.5 ext.slf4jLog4jVersion = '1.5.10' + ext.aspectjVersion = '1.6.12' [compileJava, compileTestJava]*.options*.compilerArgs = ['-Xlint:none'] @@ -133,7 +134,7 @@ project('spring-core') { builtBy project(":spring-asm").jar } compile "commons-logging:commons-logging:1.1.1" - compile("org.aspectj:aspectjweaver:1.6.8", optional) + compile("org.aspectj:aspectjweaver:${aspectjVersion}", optional) compile("net.sf.jopt-simple:jopt-simple:3.0") { dep -> optional dep exclude group: 'org.apache.ant', module: 'ant' @@ -220,6 +221,10 @@ project('spring-context') { testCompile("javax.xml:jaxrpc-api:1.1") testCompile("javax.inject:com.springsource.org.atinject.tck:1.0.0") } + + test { + jvmArgs = ['-disableassertions:org.aspectj.weaver.UnresolvedType'] // SPR-7989 + } } project('spring-tx') { @@ -439,8 +444,8 @@ project('spring-aspects') { dependencies { compile project(":spring-orm") aspects project(":spring-orm") - ajc "org.aspectj:aspectjtools:1.6.8" - compile "org.aspectj:aspectjrt:1.6.8" + ajc "org.aspectj:aspectjtools:${aspectjVersion}" + compile "org.aspectj:aspectjrt:${aspectjVersion}" testCompile project(":spring-test") } eclipse.project { diff --git a/src/dist/changelog.txt b/src/dist/changelog.txt index 928e2f52a2..42257de507 100644 --- a/src/dist/changelog.txt +++ b/src/dist/changelog.txt @@ -5,6 +5,7 @@ http://www.springsource.org Changes in version 3.2 M1 ------------------------------------- +* upgraded to AspectJ 1.6.12 * better handling on failure to parse invalid 'Content-Type' or 'Accept' headers * handle a controller method's return value based on the actual returned value (vs declared type) * fix issue with combining identical controller and method level request mapping paths