Home
last modified time | relevance | path

Searched refs:catchableThrownTypes (Results 1 – 10 of 10) sorted by relevance

/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/
H A DFlow.java1181 List<Type> catchableThrownTypes = chk.intersect(List.of(exc), thrownInTry); in checkCaughtType() local
1186 if (chk.diff(catchableThrownTypes, caughtInTry).isEmpty() && in checkCaughtType()
1188 Warning key = catchableThrownTypes.length() == 1 ? in checkCaughtType()
1189 Warnings.UnreachableCatch(catchableThrownTypes) : in checkCaughtType()
1190 Warnings.UnreachableCatch1(catchableThrownTypes); in checkCaughtType()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/
H A DFlow.java1181 List<Type> catchableThrownTypes = chk.intersect(List.of(exc), thrownInTry); in checkCaughtType() local
1186 if (chk.diff(catchableThrownTypes, caughtInTry).isEmpty() && in checkCaughtType()
1188 Warning key = catchableThrownTypes.length() == 1 ? in checkCaughtType()
1189 Warnings.UnreachableCatch(catchableThrownTypes) : in checkCaughtType()
1190 Warnings.UnreachableCatch1(catchableThrownTypes); in checkCaughtType()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/
H A DFlow.java1276 List<Type> catchableThrownTypes = chk.intersect(List.of(exc), thrownInTry); in checkCaughtType() local
1281 if (chk.diff(catchableThrownTypes, caughtInTry).isEmpty() && in checkCaughtType()
1283 Warning key = catchableThrownTypes.length() == 1 ? in checkCaughtType()
1284 Warnings.UnreachableCatch(catchableThrownTypes) : in checkCaughtType()
1285 Warnings.UnreachableCatch1(catchableThrownTypes); in checkCaughtType()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/
H A DFlow.java1249 List<Type> catchableThrownTypes = chk.intersect(List.of(exc), thrownInTry); in checkCaughtType() local
1254 if (chk.diff(catchableThrownTypes, caughtInTry).isEmpty() && in checkCaughtType()
1256 Warning key = catchableThrownTypes.length() == 1 ? in checkCaughtType()
1257 Warnings.UnreachableCatch(catchableThrownTypes) : in checkCaughtType()
1258 Warnings.UnreachableCatch1(catchableThrownTypes); in checkCaughtType()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/
H A DFlow.java1325 List<Type> catchableThrownTypes = chk.intersect(List.of(exc), thrownInTry); in checkCaughtType() local
1330 if (chk.diff(catchableThrownTypes, caughtInTry).isEmpty() && in checkCaughtType()
1332 Warning key = catchableThrownTypes.length() == 1 ? in checkCaughtType()
1333 Warnings.UnreachableCatch(catchableThrownTypes) : in checkCaughtType()
1334 Warnings.UnreachableCatch1(catchableThrownTypes); in checkCaughtType()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/
H A DFlow.java1325 List<Type> catchableThrownTypes = chk.intersect(List.of(exc), thrownInTry); in checkCaughtType() local
1330 if (chk.diff(catchableThrownTypes, caughtInTry).isEmpty() && in checkCaughtType()
1332 Warning key = catchableThrownTypes.length() == 1 ? in checkCaughtType()
1333 Warnings.UnreachableCatch(catchableThrownTypes) : in checkCaughtType()
1334 Warnings.UnreachableCatch1(catchableThrownTypes); in checkCaughtType()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/
H A DFlow.java1312 List<Type> catchableThrownTypes = chk.intersect(List.of(exc), thrownInTry); in checkCaughtType() local
1317 if (chk.diff(catchableThrownTypes, caughtInTry).isEmpty() && in checkCaughtType()
1319 Warning key = catchableThrownTypes.length() == 1 ? in checkCaughtType()
1320 Warnings.UnreachableCatch(catchableThrownTypes) : in checkCaughtType()
1321 Warnings.UnreachableCatch1(catchableThrownTypes); in checkCaughtType()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/
H A DFlow.java1381 List<Type> catchableThrownTypes = chk.intersect(List.of(exc), thrownInTry);
1386 if (chk.diff(catchableThrownTypes, caughtInTry).isEmpty() &&
1388 Warning key = catchableThrownTypes.length() == 1 ?
1389 Warnings.UnreachableCatch(catchableThrownTypes) :
1390 Warnings.UnreachableCatch1(catchableThrownTypes);
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DFlow.java1183 List<Type> catchableThrownTypes = chk.intersect(List.of(exc), thrownInTry); in checkCaughtType() local
1188 if (chk.diff(catchableThrownTypes, caughtInTry).isEmpty() && in checkCaughtType()
1190 String key = catchableThrownTypes.length() == 1 ? in checkCaughtType()
1193 log.warning(pos, key, catchableThrownTypes); in checkCaughtType()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DFlow.java1183 List<Type> catchableThrownTypes = chk.intersect(List.of(exc), thrownInTry); in checkCaughtType() local
1188 if (chk.diff(catchableThrownTypes, caughtInTry).isEmpty() && in checkCaughtType()
1190 String key = catchableThrownTypes.length() == 1 ? in checkCaughtType()
1193 log.warning(pos, key, catchableThrownTypes); in checkCaughtType()