[TEST] use jdk-internal bundled signature (rather than the previously removed jdk-non-portable)

This commit is contained in:
javanna 2016-06-10 12:41:49 +02:00 committed by Luca Cavanna
parent 656422cff6
commit 777d438f48
2 changed files with 6 additions and 6 deletions

View File

@ -54,9 +54,9 @@ forbiddenApisMain {
}
forbiddenApisTest {
//we are excluding jdk-non-portable to allow for com.sun.net.httpserver.* usage
//TODO remove this line once https://github.com/policeman-tools/forbidden-apis/issues/103 gets solved
bundledSignatures = ['jdk-unsafe', 'jdk-deprecated', 'jdk-system-out']
//we are using jdk-internal instead of jdk-non-portable to allow for com.sun.net.httpserver.* usage
bundledSignatures -= 'jdk-non-portable'
bundledSignatures += 'jdk-internal'
//client does not depend on core, so only jdk signatures should be checked
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
}

View File

@ -52,9 +52,9 @@ forbiddenApisMain {
}
forbiddenApisTest {
//we are excluding jdk-non-portable to allow for com.sun.net.httpserver.* usage
//TODO remove this line once https://github.com/policeman-tools/forbidden-apis/issues/103 gets solved
bundledSignatures = ['jdk-unsafe', 'jdk-deprecated', 'jdk-system-out']
//we are using jdk-internal instead of jdk-non-portable to allow for com.sun.net.httpserver.* usage
bundledSignatures -= 'jdk-non-portable'
bundledSignatures += 'jdk-internal'
//client does not depend on core, so only jdk signatures should be checked
signaturesURLs = [PrecommitTasks.getResource('/forbidden/jdk-signatures.txt')]
}