diff --git a/build.xml b/build.xml index dfb82cc9a2..db733412e7 100644 --- a/build.xml +++ b/build.xml @@ -317,6 +317,7 @@ under the License. + @@ -1308,6 +1309,7 @@ under the License. + @@ -1380,6 +1382,7 @@ under the License. + @@ -1430,6 +1433,7 @@ under the License. + @@ -1465,6 +1469,7 @@ under the License. + @@ -1514,6 +1519,7 @@ under the License. + @@ -1573,6 +1579,7 @@ under the License. + @@ -1619,6 +1626,7 @@ under the License. + diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 449ab0697b..a3bf7b1936 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -34,6 +34,7 @@ def poijobs = [ '-Djava9addopens3=--add-opens=java.base/java.nio=ALL-UNNAMED', '-Djava9addopens4=--add-opens=java.base/java.lang=ALL-UNNAMED', '-Djava9addopens5=--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED', + '-Djava9addopens6=--add-opens=java.base/java.lang=java.xml.bind', '-Djava.locale.providers=JRE,CLDR'], skipcigame: true ], @@ -46,6 +47,7 @@ def poijobs = [ '-Djava9addopens3=--add-opens=java.base/java.nio=ALL-UNNAMED', '-Djava9addopens4=--add-opens=java.base/java.lang=ALL-UNNAMED', '-Djava9addopens5=--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED', + '-Djava9addopens6=--add-opens=java.base/java.lang=java.xml.bind', '-Djava.locale.providers=JRE,CLDR'], skipcigame: true ], @@ -90,7 +92,8 @@ def defaultSlaves = 'ubuntu&&!cloud-slave&&!H15&&!H17&&!H18&&!H24&&!ubuntu-4&&!H def jdkMapping = [ '1.8': 'JDK 1.8 (latest)', '1.9': 'JDK 1.9 (latest)', - '1.10': 'JDK 10 b36 (early access build)', + '1.10': 'JDK 10 (latest)', + '1.11': 'JDK 11 b8 (early access build)', 'OpenJDK': 'OpenJDK 8 (on Ubuntu only) ', // blank is required here until the name in the Jenkins instance is fixed! 'IBMJDK': 'IBM 1.8 64-bit (on Ubuntu only)', ] @@ -434,8 +437,10 @@ Unfortunately we often see builds break because of changes/new machines...''' 'JDK 9 b181', 'JDK 9 b181 (unlimited security)', - 'JDK 10 b36 (early access build)', - 'JDK 10 b37 (early access build) (Windows Only)' + 'JDK 10 (latest)', + 'JDK 10 b46 (Windows Only)', + + 'JDK 11 b8 (early access build)' ) label('Nodes', 'beam1','beam2','beam3','beam4','beam5','beam6','beam7','beam8', diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSimpleShape.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSimpleShape.java index 4531ddd85b..e35ed35a29 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSimpleShape.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFSimpleShape.java @@ -65,9 +65,9 @@ public class TestXSLFSimpleShape { assertFalse(getSpPr(shape).isSetLn()); assertEquals(0., shape.getLineWidth(), 0); - assertEquals(null, shape.getLineColor()); - assertEquals(null, shape.getLineDash()); - assertEquals(null, shape.getLineCap()); + assertNull(shape.getLineColor()); + assertNull(shape.getLineDash()); + assertNull(shape.getLineCap()); shape.setLineWidth(0); shape.setLineColor(null); @@ -125,7 +125,7 @@ public class TestXSLFSimpleShape { assertEquals(Color.BLUE, shape.getLineColor()); assertTrue(getSpPr(shape).getLn().isSetSolidFill()); shape.setLineColor(null); - assertEquals(null, shape.getLineColor()); + assertNull(shape.getLineColor()); // setting dash width to null unsets the SolidFill element assertFalse(getSpPr(shape).getLn().isSetSolidFill()); @@ -139,9 +139,9 @@ public class TestXSLFSimpleShape { ln3.setLineWidth(1.); assertEquals(1., ln3.getLineWidth(), 0); ln3.setLineDash(null); - assertEquals(null, ln3.getLineDash()); + assertNull(ln3.getLineDash()); ln3.setLineCap(null); - assertEquals(null, ln3.getLineDash()); + assertNull(ln3.getLineDash()); ppt.close(); }