diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 5f0ca5230af..4196eea3652 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -145,8 +145,6 @@
-
-
@@ -908,6 +906,8 @@
+
+
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 4c705dd6703..b13c971cced 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -379,6 +379,8 @@ Other Changes
* SOLR-6625: Enable registering interceptors for the calls made using HttpClient and make the
request object available at the interceptor context ( Ishan Chattopadhyay, Gregory Chanan, noble, Anshum Gupta)
+* SOLR-5022: On Java 7 raise permgen for running tests. (Uwe Schindler)
+
================== 5.2.1 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
diff --git a/solr/common-build.xml b/solr/common-build.xml
index de136c3fe75..e3f09137b80 100644
--- a/solr/common-build.xml
+++ b/solr/common-build.xml
@@ -150,15 +150,11 @@
-
-
-
-
+