-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from /issues/91
Add new bundled signatures for disallowing internal runtime APIs + fix class loading order bugs. This closes #91
- Loading branch information
Showing
7 changed files
with
340 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-internal-1.6.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This file contains API signatures that are marked as internal in Java. | ||
# It is provided here for reference, but can easily regenerated by executing from the source folder of forbidden-apis: | ||
# $ ant generate-internal | ||
|
||
# This file contains all internal packages listed in Security.getProperty("package.access") of Java version 1.6 (extracted from build 1.6.0_32). | ||
|
||
@defaultMessage non-public internal runtime class in Java 1.6 | ||
|
||
com.sun.imageio.** | ||
com.sun.org.apache.xalan.internal.utils.** | ||
com.sun.org.apache.xerces.internal.utils.** | ||
com.sun.xml.internal.bind.** | ||
com.sun.xml.internal.ws.** | ||
sun.** |
39 changes: 39 additions & 0 deletions
39
src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-internal-1.7.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# This file contains API signatures that are marked as internal in Java. | ||
# It is provided here for reference, but can easily regenerated by executing from the source folder of forbidden-apis: | ||
# $ ant generate-internal | ||
|
||
# This file contains all internal packages listed in Security.getProperty("package.access") of Java version 1.7 (extracted from build 1.7.0_80). | ||
|
||
@defaultMessage non-public internal runtime class in Java 1.7 | ||
|
||
com.sun.corba.se.** | ||
com.sun.imageio.** | ||
com.sun.istack.internal.** | ||
com.sun.java.accessibility.** | ||
com.sun.jmx.** | ||
com.sun.naming.internal.** | ||
com.sun.org.apache.bcel.internal.** | ||
com.sun.org.apache.regexp.internal.** | ||
com.sun.org.apache.xalan.internal.extensions.** | ||
com.sun.org.apache.xalan.internal.lib.** | ||
com.sun.org.apache.xalan.internal.res.** | ||
com.sun.org.apache.xalan.internal.templates.** | ||
com.sun.org.apache.xalan.internal.utils.** | ||
com.sun.org.apache.xalan.internal.xslt.** | ||
com.sun.org.apache.xalan.internal.xsltc.cmdline.** | ||
com.sun.org.apache.xalan.internal.xsltc.compiler.** | ||
com.sun.org.apache.xalan.internal.xsltc.trax.** | ||
com.sun.org.apache.xalan.internal.xsltc.util.** | ||
com.sun.org.apache.xerces.internal.** | ||
com.sun.org.apache.xml.internal.res.** | ||
com.sun.org.apache.xml.internal.security.** | ||
com.sun.org.apache.xml.internal.serializer.utils.** | ||
com.sun.org.apache.xml.internal.utils.** | ||
com.sun.org.apache.xpath.internal.** | ||
com.sun.org.glassfish.** | ||
com.sun.proxy.** | ||
com.sun.script.** | ||
com.sun.xml.internal.** | ||
oracle.jrockit.jfr.** | ||
org.jcp.xml.dsig.internal.** | ||
sun.** |
56 changes: 56 additions & 0 deletions
56
src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-internal-1.8.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# This file contains API signatures that are marked as internal in Java. | ||
# It is provided here for reference, but can easily regenerated by executing from the source folder of forbidden-apis: | ||
# $ ant generate-internal | ||
|
||
# This file contains all internal packages listed in Security.getProperty("package.access") of Java version 1.8 (extracted from build 1.8.0_60). | ||
|
||
@defaultMessage non-public internal runtime class in Java 1.8 | ||
|
||
com.oracle.webservices.internal.** | ||
com.oracle.xmlns.internal.** | ||
com.sun.activation.registries.** | ||
com.sun.browser.** | ||
com.sun.corba.se.** | ||
com.sun.glass.** | ||
com.sun.imageio.** | ||
com.sun.istack.internal.** | ||
com.sun.java.accessibility.** | ||
com.sun.javafx.** | ||
com.sun.jmx.** | ||
com.sun.media.** | ||
com.sun.media.sound.** | ||
com.sun.naming.internal.** | ||
com.sun.openpisces.** | ||
com.sun.org.apache.bcel.internal.** | ||
com.sun.org.apache.regexp.internal.** | ||
com.sun.org.apache.xalan.internal.extensions.** | ||
com.sun.org.apache.xalan.internal.lib.** | ||
com.sun.org.apache.xalan.internal.res.** | ||
com.sun.org.apache.xalan.internal.templates.** | ||
com.sun.org.apache.xalan.internal.utils.** | ||
com.sun.org.apache.xalan.internal.xslt.** | ||
com.sun.org.apache.xalan.internal.xsltc.cmdline.** | ||
com.sun.org.apache.xalan.internal.xsltc.compiler.** | ||
com.sun.org.apache.xalan.internal.xsltc.trax.** | ||
com.sun.org.apache.xalan.internal.xsltc.util.** | ||
com.sun.org.apache.xerces.internal.** | ||
com.sun.org.apache.xml.internal.res.** | ||
com.sun.org.apache.xml.internal.security.** | ||
com.sun.org.apache.xml.internal.serializer.utils.** | ||
com.sun.org.apache.xml.internal.utils.** | ||
com.sun.org.apache.xpath.internal.** | ||
com.sun.org.glassfish.** | ||
com.sun.pisces.** | ||
com.sun.prism.** | ||
com.sun.proxy.** | ||
com.sun.scenario.** | ||
com.sun.t2k.** | ||
com.sun.webkit.** | ||
com.sun.xml.internal.** | ||
jdk.internal.** | ||
jdk.management.resource.internal.** | ||
jdk.nashorn.internal.** | ||
jdk.nashorn.tools.** | ||
oracle.jrockit.jfr.** | ||
org.jcp.xml.dsig.internal.** | ||
sun.** |
Oops, something went wrong.