Fix build with jdk <= 7

OBS-URL: https://build.opensuse.org/package/show/Java:packages/servletapi4?expand=0&rev=15
This commit is contained in:
Fridrich Strba 2017-09-18 12:48:38 +00:00 committed by Git OBS Bridge
parent 8e283fae95
commit 39ff6302f1
2 changed files with 8 additions and 1 deletions

View File

@ -14,7 +14,7 @@ Index: jakarta-servletapi-4-src/build.xml
<target name="javadoc" depends="prepare"> <target name="javadoc" depends="prepare">
<javadoc packagenames="javax.servlet.*" <javadoc packagenames="javax.servlet.*"
+ source="1.6" additionalparam="-Xdoclint:none" + source="1.6"
sourcepath="${basedir}/src/share" sourcepath="${basedir}/src/share"
destdir="${servletapi.build}/docs/api" destdir="${servletapi.build}/docs/api"
use="true" use="true"

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 18 12:47:42 UTC 2017 - fstrba@suse.com
- Modified patch:
* java160_build.patch
+ Don't switch off doclint; it is switched off by default
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 10 13:00:57 UTC 2017 - fstrba@suse.com Sun Sep 10 13:00:57 UTC 2017 - fstrba@suse.com