Accepting request 526279 from Java:packages

Fix build with jdk9

OBS-URL: https://build.opensuse.org/request/show/526279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-portlet-1_0-api?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2017-09-15 20:31:34 +00:00 committed by Git OBS Bridge
commit cef5d06c58
3 changed files with 8 additions and 3 deletions

View File

@ -39,7 +39,7 @@
<target name="compile" description="o Compile the code" depends="get-deps"> <target name="compile" description="o Compile the code" depends="get-deps">
<mkdir dir="${classesdir}"> <mkdir dir="${classesdir}">
</mkdir> </mkdir>
<javac source="1.5" target="1.5" destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html"> <javac source="1.6" target="1.6" destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
<src> <src>
<pathelement location="src/java"> <pathelement location="src/java">
</pathelement> </pathelement>
@ -98,7 +98,7 @@
</property> </property>
<property name="title" value="Java Portlet API 1.0 API"> <property name="title" value="Java Portlet API 1.0 API">
</property> </property>
<javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="javax.portlet.*"> <javadoc use="true" private="true" destdir="${javadocdir}" source="1.6" author="true" version="true" sourcepath="src/java" packagenames="javax.portlet.*">
<classpath> <classpath>
<path refid="build.classpath"> <path refid="build.classpath">
</path> </path>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 15 07:33:39 UTC 2017 - fstrba@suse.com
- Fix build with jdk9: specify java source and target level 1.6
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 19 10:15:13 UTC 2017 - pcervinka@suse.com Fri May 19 10:15:13 UTC 2017 - pcervinka@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package apache-portlet-1_0-api # spec file for package apache-portlet-1_0-api
# #
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed