From 0c9a7315b8f14cf0aee21641a23344dfc9501ed0 Mon Sep 17 00:00:00 2001 From: uschindler Date: Sun, 14 Sep 2014 17:25:45 +0000 Subject: [PATCH] Add new signature violating default charsets in Java 7+ (issue #19) --- .../de/thetaphi/forbiddenapis/signatures/jdk-unsafe-1.7.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-unsafe-1.7.txt b/src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-unsafe-1.7.txt index de8a8eae..16ef817c 100644 --- a/src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-unsafe-1.7.txt +++ b/src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-unsafe-1.7.txt @@ -14,6 +14,7 @@ # These methods and classes should not be used by server classes (unsafe, no charset, no locale,...): -# We only include 1.6 for now. -# TODO: Scan Java 7 API for additional locale/charset/... violations! @includeBundled jdk-unsafe-1.6 + +@defaultMessage Uses default charset +java.util.Scanner#(java.nio.file.Path)