Skip to content

Commit 9960927

Browse files
Merge pull request #26 from gayanW/java-10-25
Remove -Xlint:sunapi from build.xml
2 parents 3bd855a + c580d09 commit 9960927

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

build.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,15 @@
106106
<mkdir dir="build/peers"/>
107107
<javac srcdir="src/peers" destdir="build/peers" includeantruntime="false"
108108
debug="${debug}" deprecation="${deprecation}" classpathref="lib.path">
109-
<compilerarg value="-XDenableSunApiLintControl"/>
110-
<compilerarg value="-Xlint:all,-sunapi,-serial"/>
109+
<compilerarg value="-Xlint:all,-serial"/>
111110
</javac>
112111
</target>
113112

114113
<target name="-compile-classes" if="have_classes" depends="-compile-annotations,-compile-main" >
115114
<mkdir dir="build/classes"/>
116115
<javac srcdir="src/classes" destdir="build/classes" includeantruntime="false"
117116
debug="${debug}" deprecation="${deprecation}">
118-
<compilerarg value="-XDenableSunApiLintControl"/>
119-
<compilerarg value="-Xlint:all,-sunapi"/>
117+
<compilerarg value="-Xlint:all"/>
120118
<classpath>
121119
<path refid="lib.path"/>
122120
<pathelement location="build/annotations"/>
@@ -130,8 +128,7 @@
130128
<javac sourcepath="" srcdir="src/tests" destdir="build/tests" includeantruntime="false"
131129
debug="${debug}" deprecation="${deprecation}"
132130
includes="*,gov/nasa/jpf/**,classloader_specific_tests/**">
133-
<compilerarg value="-XDenableSunApiLintControl"/>
134-
<compilerarg value="-Xlint:all,-sunapi,-serial,-rawtypes,-unchecked"/>
131+
<compilerarg value="-Xlint:all,-serial,-rawtypes,-unchecked"/>
135132

136133
<include name="*gov/nasa/jpf/**"/>
137134
<include name="classloader_specific_tests/**"/>

0 commit comments

Comments
 (0)