Skip to content

Commit 15e0c7e

Browse files
strkkknrmancuso
authored andcommitted
Issue #14877: drop java 14 build
1 parent 8a4b406 commit 15e0c7e

File tree

212 files changed

+257
-274
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+257
-274
lines changed

.ci/validation.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -536,21 +536,6 @@ javac11)
536536
done
537537
;;
538538

539-
javac14)
540-
files=($(grep -Rl --include='*.java' ': Compilable with Java14' \
541-
src/test/resources-noncompilable \
542-
src/xdocs-examples/resources-noncompilable || true))
543-
if [[ ${#files[@]} -eq 0 ]]; then
544-
echo "No Java14 files to process"
545-
else
546-
mkdir -p target
547-
for file in "${files[@]}"
548-
do
549-
javac --release 14 --enable-preview -d target "${file}"
550-
done
551-
fi
552-
;;
553-
554539
javac17)
555540
files=($(grep -Rl --include='*.java' ': Compilable with Java17' \
556541
src/test/resources-noncompilable \

.circleci/config.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,6 @@ workflows:
266266
- validate-with-script:
267267
name: "javac11"
268268
command: "./.ci/validation.sh javac11"
269-
- validate-with-script:
270-
name: "javac14"
271-
image-name: "cimg/openjdk:14.0.2"
272-
command: "./.ci/validation.sh javac14"
273269
- validate-with-script:
274270
name: "javac17"
275271
image-name: "cimg/openjdk:17.0.5"

src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule526parameternames/InputRecordComponentName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.naming.recordcomponentname;
33

44
/* Config:

src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.google.checkstyle.test.chapter5naming.rule527localvariablenames;
33

4-
import java.util.ArrayList;
4+
import java.util.*;
55
import java.util.Locale;
66

77
public class InputPatternVariableNameEnhancedInstanceofTestDefault {
@@ -42,7 +42,7 @@ public void t(Object o1, Object o2) {
4242
}
4343
b = ((VoidPredicate) () -> o1 instanceof String s).get();
4444

45-
ArrayList<Integer> arrayList = new ArrayList<Integer>();
45+
List<Integer> arrayList = new ArrayList<Integer>();
4646
if (arrayList instanceof ArrayList<Integer> ai) {
4747
System.out.println("Blah");
4848
}

src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.naming.recordtypeparametername;
33

44
import java.io.Serializable;

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/covariantequals/InputXpathCovariantEqualsInRecord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22

33
package org.checkstyle.suppressionxpathfilter.covariantequals;
44

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/illegalidentifiername/InputXpathIllegalIdentifierNameOne.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package org.checkstyle.suppressionxpathfilter.illegalidentifiername;
33

44
/* Config:

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/illegalidentifiername/InputXpathIllegalIdentifierNameTwo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package org.checkstyle.suppressionxpathfilter.illegalidentifiername;
33

44
/* Config:

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/patternvariablename/InputXpathPatternVariableNameFour.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.naming;
33

44
public class InputXpathPatternVariableNameFour {

src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/patternvariablename/InputXpathPatternVariableNameOne.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//non-compiled with javac: Compilable with Java14
1+
//non-compiled with javac: Compilable with Java17
22
package com.puppycrawl.tools.checkstyle.checks.naming;
33

44
public class InputXpathPatternVariableNameOne {

0 commit comments

Comments
 (0)