# HG changeset patch # User Doug Simon # Date 1446292151 -3600 # Node ID 102b099df9dd2064604eb17bb9d0b4e22ddd3432 # Parent c5aa3f4aac72a4088577e5dadc255a5ef893d3cd# Parent 3c00f45259b6dcd6f187ef09c4b7517e709c5dab Merge. diff -r 3c00f45259b6 -r 102b099df9dd graal/com.oracle.graal.compiler.match.processor/src/com/oracle/graal/compiler/match/processor/MatchProcessor.java --- a/graal/com.oracle.graal.compiler.match.processor/src/com/oracle/graal/compiler/match/processor/MatchProcessor.java Fri Oct 30 20:56:28 2015 +0100 +++ b/graal/com.oracle.graal.compiler.match.processor/src/com/oracle/graal/compiler/match/processor/MatchProcessor.java Sat Oct 31 12:49:11 2015 +0100 @@ -24,7 +24,6 @@ import java.io.FileWriter; import java.io.IOException; -import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; @@ -595,20 +594,6 @@ out.println("}"); } - - try { - createProviderFile(pkg, matchStatementClassName, originatingElements); - } catch (IOException e) { - reportExceptionThrow(info.topDeclaringType, e); - } - } - - private void createProviderFile(String pkg, String providerClassName, Element... originatingElements) throws IOException { - String filename = "META-INF/jvmci.providers/" + pkg + "." + providerClassName; - FileObject file = processingEnv.getFiler().createResource(StandardLocation.CLASS_OUTPUT, "", filename, originatingElements); - PrintWriter writer = new PrintWriter(new OutputStreamWriter(file.openOutputStream(), "UTF-8")); - writer.println(MatchStatementSet.class.getName()); - writer.close(); } protected PrintWriter createSourceFile(String pkg, String relativeName, Filer filer, Element... originatingElements) { diff -r 3c00f45259b6 -r 102b099df9dd mx.graal/suite.py --- a/mx.graal/suite.py Fri Oct 30 20:56:28 2015 +0100 +++ b/mx.graal/suite.py Sat Oct 31 12:49:11 2015 +0100 @@ -1,20 +1,37 @@ import mx JDK9 = mx.get_jdk(tag='default').javaCompliance >= "1.9" -_8_9 = "1.9" if JDK9 else "1.8" def deps(l): - """ Filters out dependencies starting with 'jvmci:' if using JDK9. """ - return [d for d in l if not JDK9 or not d.startswith("jvmci:")] + """ + If using JDK9, replaces dependencies starting with 'jvmci:' with 'JVMCI'. + Otherwise, excludes "JVMCI". + """ + if JDK9: + res = [] + for e in l: + if e.startswith("jvmci:"): + if not "JVMCI" in res: + res.append("JVMCI") + else: + res.append(e) + return res + else: + return [d for d in l if d != "JVMCI"] + +def libs(d): + """ + If not using JDK9, excludes "JVMCI" library. + """ + if not JDK9: + del d["JVMCI"] + return d def suites(l): """ Filters out suites named 'jvmci' if using JDK9. """ return [s for s in l if not JDK9 or not s.get('name') == "jvmci"] -def ap(name): - return name + "_PROCESSOR" if JDK9 else "jvmci:JVMCI_" + name + "_PROCESSOR" - suite = { - "mxversion" : "5.5.7", + "mxversion" : "5.5.14", "name" : "graal", "imports" : { @@ -41,7 +58,7 @@ "defaultLicense" : "GPLv2-CPE", - "libraries" : { + "libraries" : libs({ # ------------- Libraries ------------- @@ -72,16 +89,14 @@ "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/jmh/jmh-runner-1.10.4.jar"], }, - "OPTIONS_PROCESSOR" : { - "sha1" : "66a86a977ae5aaaeb2105b94cbb59e039d0d432d", - "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/jvmci-options-processor.jar"], - }, - - "SERVICE_PROCESSOR" : { - "sha1" : "341cb1c52b4e6194d9edc7a91ffc4d41d0258d94", - "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/jvmci-service-processor.jar"], - }, - }, + # Library that allows Graal to compile against JVMCI without the jvmci suite. + # This library is not added to the boot class path at run time and so code + # compiled against this library must be run on (JVMCI enabled) JDK9. + "JVMCI" : { + "sha1" : "f4f0d6cfa751fa644163008810d5123c4c298104", + "urls" : ["https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/jvmci-b0e383e27552.jar"], + }, + }), "projects" : { @@ -103,7 +118,7 @@ "mx:JUNIT", ]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", }, # ------------- Graal ------------- @@ -115,8 +130,8 @@ "dependencies" : deps([ "jvmci:JVMCI_API", ]), - "annotationProcessors" : [ap("OPTIONS")], - "javaCompliance" : _8_9, + "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), + "javaCompliance" : "1.8", "workingSets" : "JVMCI,Debug", }, @@ -128,7 +143,7 @@ "com.oracle.graal.debug", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "JVMCI,Debug,Test", }, @@ -139,9 +154,9 @@ "jvmci:JVMCI_SERVICE", "jvmci:JVMCI_API", ]), - "annotationProcessors" : [ap("SERVICE")], + "annotationProcessors" : deps(["jvmci:JVMCI_SERVICE_PROCESSOR"]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal", }, @@ -149,7 +164,7 @@ "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "API,Graal", }, @@ -157,7 +172,7 @@ "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "API,Graal", }, @@ -168,7 +183,7 @@ "dependencies" : [ "com.oracle.graal.compiler.test", ], - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "API,Graal", }, @@ -179,7 +194,7 @@ "jvmci:JVMCI_API", ]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "API,Graal", }, @@ -191,7 +206,7 @@ "com.oracle.graal.api.runtime", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "API,Graal,Test", }, @@ -200,7 +215,7 @@ "sourceDirs" : ["src"], "dependencies" : deps(["jvmci:JVMCI_API"]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "API,Graal,Replacements", }, @@ -215,14 +230,14 @@ "com.oracle.graal.code", ]), "checkstyle" : "com.oracle.graal.graph", - "annotationProcessors" : [ + "annotationProcessors" : deps([ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_COMPILER_MATCH_PROCESSOR", "GRAAL_REPLACEMENTS_VERIFIER", - ap("OPTIONS"), - ap("SERVICE"), - ], - "javaCompliance" : _8_9, + "jvmci:JVMCI_OPTIONS_PROCESSOR", + "jvmci:JVMCI_SERVICE_PROCESSOR", + ]), + "javaCompliance" : "1.8", "workingSets" : "Graal,HotSpot", }, @@ -235,11 +250,11 @@ "com.oracle.graal.replacements.amd64", ], "checkstyle" : "com.oracle.graal.graph", - "annotationProcessors" : [ - ap("SERVICE"), + "annotationProcessors" : deps([ + "jvmci:JVMCI_SERVICE_PROCESSOR", "GRAAL_NODEINFO_PROCESSOR" - ], - "javaCompliance" : _8_9, + ]), + "javaCompliance" : "1.8", "workingSets" : "Graal,HotSpot,AMD64", }, @@ -252,8 +267,8 @@ "com.oracle.graal.replacements.sparc", ], "checkstyle" : "com.oracle.graal.graph", - "annotationProcessors" : [ap("SERVICE")], - "javaCompliance" : _8_9, + "annotationProcessors" : deps(["jvmci:JVMCI_SERVICE_PROCESSOR"]), + "javaCompliance" : "1.8", "workingSets" : "Graal,HotSpot,SPARC", }, @@ -266,7 +281,7 @@ ], "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,HotSpot,Test", }, @@ -279,7 +294,7 @@ ], "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,HotSpot,AMD64,Test", }, @@ -287,7 +302,7 @@ "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Graph", }, @@ -298,7 +313,7 @@ "dependencies" : [ "com.oracle.graal.nodeinfo", ], - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Graph", }, @@ -310,11 +325,11 @@ "com.oracle.graal.compiler.common", "com.oracle.graal.api.collections", ], - "javaCompliance" : _8_9, - "annotationProcessors" : [ - ap("OPTIONS"), + "javaCompliance" : "1.8", + "annotationProcessors" : deps([ + "jvmci:JVMCI_OPTIONS_PROCESSOR", "GRAAL_NODEINFO_PROCESSOR" - ], + ]), "workingSets" : "Graal,Graph", }, @@ -328,7 +343,7 @@ "com.oracle.graal.graph", ], "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Graph,Test", }, @@ -337,7 +352,7 @@ "sourceDirs" : ["src"], "dependencies" : deps(["jvmci:JVMCI_API"]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Assembler", }, @@ -348,7 +363,7 @@ "com.oracle.graal.asm", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Assembler,AMD64", }, @@ -359,7 +374,7 @@ "com.oracle.graal.asm", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Assembler,SPARC", }, @@ -367,7 +382,7 @@ "subDir" : "graal", "sourceDirs" : ["src"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Java", }, @@ -380,7 +395,7 @@ "com.oracle.graal.debug", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Assembler,Test", }, @@ -392,7 +407,7 @@ "com.oracle.graal.asm.amd64", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Assembler,AMD64,Test", }, @@ -403,9 +418,9 @@ "com.oracle.graal.compiler.common", "com.oracle.graal.asm", ], - "annotationProcessors" : [ap("OPTIONS")], + "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,LIR", }, @@ -417,7 +432,7 @@ ], "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,LIR", "findbugs" : "false", }, @@ -430,7 +445,7 @@ "com.oracle.graal.lir", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,LIR", }, @@ -441,9 +456,9 @@ "com.oracle.graal.lir", "com.oracle.graal.asm.amd64", ], - "annotationProcessors" : [ap("OPTIONS")], + "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,LIR,AMD64", }, @@ -455,7 +470,7 @@ "com.oracle.graal.lir", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,LIR,SPARC", }, @@ -464,7 +479,7 @@ "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.nodes"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "workingSets" : "API,Graal", }, @@ -479,12 +494,12 @@ "com.oracle.graal.word", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, - "annotationProcessors" : [ - ap("OPTIONS"), + "javaCompliance" : "1.8", + "annotationProcessors" : deps([ + "jvmci:JVMCI_OPTIONS_PROCESSOR", "GRAAL_REPLACEMENTS_VERIFIER", "GRAAL_NODEINFO_PROCESSOR", - ], + ]), "workingSets" : "Graal,Replacements", }, @@ -497,7 +512,7 @@ "com.oracle.graal.compiler", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", ], @@ -512,7 +527,7 @@ "com.oracle.graal.compiler", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Replacements,SPARC", }, @@ -525,7 +540,7 @@ ], "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Replacements,Test", "jacoco" : "exclude", }, @@ -538,7 +553,7 @@ "com.oracle.graal.graph", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Replacements", }, @@ -552,7 +567,7 @@ "com.oracle.graal.bytecode", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "annotationProcessors" : [ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_REPLACEMENTS_VERIFIER", @@ -565,7 +580,7 @@ "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.compiler.test"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Graph", }, @@ -573,9 +588,9 @@ "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.nodes"], - "annotationProcessors" : [ap("OPTIONS")], + "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Phases", }, @@ -583,12 +598,12 @@ "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.phases"], - "annotationProcessors" : [ + "annotationProcessors" : deps([ "GRAAL_NODEINFO_PROCESSOR", - ap("OPTIONS") - ], + "jvmci:JVMCI_OPTIONS_PROCESSOR" + ]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Phases", }, @@ -601,7 +616,7 @@ "mx:JUNIT", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Test", }, @@ -609,12 +624,12 @@ "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.phases.common"], - "annotationProcessors" : [ - ap("OPTIONS"), + "annotationProcessors" : deps([ + "jvmci:JVMCI_OPTIONS_PROCESSOR", "GRAAL_NODEINFO_PROCESSOR" - ], + ]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Phases", }, @@ -623,7 +638,7 @@ "sourceDirs" : ["src"], "dependencies" : ["JMH"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "annotationProcessors" : ["JMH"], "workingSets" : "Graal,Bench", }, @@ -638,7 +653,7 @@ "com.oracle.graal.runtime", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "annotationProcessors" : ["JMH"], "workingSets" : "Graal,Bench", }, @@ -647,9 +662,9 @@ "subDir" : "graal", "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.phases.common"], - "annotationProcessors" : [ap("OPTIONS")], + "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Phases", }, @@ -661,11 +676,11 @@ "com.oracle.graal.loop", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, - "annotationProcessors" : [ - ap("SERVICE"), - ap("OPTIONS"), - ], + "javaCompliance" : "1.8", + "annotationProcessors" : deps([ + "jvmci:JVMCI_SERVICE_PROCESSOR", + "jvmci:JVMCI_OPTIONS_PROCESSOR", + ]), "workingSets" : "Graal", }, @@ -676,7 +691,7 @@ "com.oracle.graal.compiler", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Codegen", }, @@ -693,7 +708,7 @@ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_COMPILER_MATCH_PROCESSOR" ], - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,AMD64", }, @@ -705,7 +720,7 @@ "jvmci:JVMCI_HOTSPOT" ]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,AMD64,Test", }, @@ -721,7 +736,7 @@ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_COMPILER_MATCH_PROCESSOR" ], - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,SPARC", }, @@ -733,7 +748,7 @@ "jvmci:JVMCI_HOTSPOT" ]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,SPARC,Test", }, @@ -742,7 +757,7 @@ "sourceDirs" : ["src"], "dependencies" : ["com.oracle.graal.compiler"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal", }, @@ -753,9 +768,9 @@ "com.oracle.graal.phases", "com.oracle.graal.graphbuilderconf", ], - "annotationProcessors" : [ap("OPTIONS")], + "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Java", }, @@ -766,7 +781,7 @@ "com.oracle.graal.nodes", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Java", }, @@ -776,9 +791,9 @@ "dependencies" : [ "com.oracle.graal.debug", ], - "annotationProcessors" : [ap("OPTIONS")], + "annotationProcessors" : deps(["jvmci:JVMCI_OPTIONS_PROCESSOR"]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Java", }, @@ -790,12 +805,12 @@ "com.oracle.graal.java", "com.oracle.graal.compiler", ], - "annotationProcessors" : [ - ap("OPTIONS"), - ap("SERVICE") - ], + "annotationProcessors" : deps([ + "jvmci:JVMCI_OPTIONS_PROCESSOR", + "jvmci:JVMCI_SERVICE_PROCESSOR" + ]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Graph", }, @@ -806,7 +821,7 @@ "mx:JUNIT", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Test", }, @@ -823,7 +838,7 @@ ], "annotationProcessors" : ["GRAAL_NODEINFO_PROCESSOR"], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Test", "jacoco" : "exclude", }, @@ -835,7 +850,7 @@ "com.oracle.graal.compiler.test", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Test", "jacoco" : "exclude", "findbugs" : "false", @@ -853,14 +868,14 @@ "com.oracle.graal.replacements", ], "checkstyle" : "com.oracle.graal.graph", - "annotationProcessors" : [ + "annotationProcessors" : deps([ "GRAAL_NODEINFO_PROCESSOR", "GRAAL_REPLACEMENTS_VERIFIER", - ap("OPTIONS"), - ap("SERVICE"), + "jvmci:JVMCI_OPTIONS_PROCESSOR", + "jvmci:JVMCI_SERVICE_PROCESSOR", "truffle:TRUFFLE_DSL_PROCESSOR", - ], - "javaCompliance" : _8_9, + ]), + "javaCompliance" : "1.8", "workingSets" : "Graal,Truffle", "jacoco" : "exclude", }, @@ -878,7 +893,7 @@ "truffle:TRUFFLE_DSL_PROCESSOR" ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal,Truffle,Test", "jacoco" : "exclude", }, @@ -892,11 +907,11 @@ "com.oracle.nfi", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, - "annotationProcessors" : [ - ap("OPTIONS"), - ap("SERVICE") - ], + "javaCompliance" : "1.8", + "annotationProcessors" : deps([ + "jvmci:JVMCI_OPTIONS_PROCESSOR", + "jvmci:JVMCI_SERVICE_PROCESSOR" + ]), "workingSets" : "Graal,Truffle", }, @@ -908,10 +923,10 @@ "com.oracle.graal.hotspot.amd64", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, - "annotationProcessors" : [ - ap("SERVICE"), - ], + "javaCompliance" : "1.8", + "annotationProcessors" : deps([ + "jvmci:JVMCI_SERVICE_PROCESSOR", + ]), "workingSets" : "Graal,Truffle", }, @@ -923,8 +938,8 @@ "com.oracle.graal.asm.sparc", ], "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, - "annotationProcessors" : [ap("SERVICE")], + "javaCompliance" : "1.8", + "annotationProcessors" : deps(["jvmci:JVMCI_SERVICE_PROCESSOR"]), "workingSets" : "Graal,Truffle,SPARC", }, @@ -936,12 +951,12 @@ "dependencies" : [ "com.oracle.graal.java", ], - "annotationProcessors" : [ - ap("OPTIONS"), - ap("SERVICE"), - ], + "annotationProcessors" : deps([ + "jvmci:JVMCI_OPTIONS_PROCESSOR", + "jvmci:JVMCI_SERVICE_PROCESSOR", + ]), "checkstyle" : "com.oracle.graal.graph", - "javaCompliance" : _8_9, + "javaCompliance" : "1.8", "workingSets" : "Graal", }, }, @@ -964,6 +979,7 @@ "com.oracle.graal.api.runtime", "com.oracle.graal.graph", ], + "exclude" : deps(["JVMCI"]), "distDependencies" : deps([ "jvmci:JVMCI_API", "GRAAL_NODEINFO", @@ -975,6 +991,7 @@ "dependencies" : [ "com.oracle.graal.compiler", ], + "exclude" : deps(["JVMCI"]), "distDependencies" : [ "GRAAL_API", ], @@ -993,6 +1010,7 @@ "com.oracle.graal.replacements.sparc", "com.oracle.graal.salver", ], + "exclude" : deps(["JVMCI"]), "distDependencies" : [ "GRAAL_API", "GRAAL_COMPILER", @@ -1006,6 +1024,7 @@ "com.oracle.graal.hotspot.sparc", "com.oracle.graal.hotspot", ], + "exclude" : deps(["JVMCI"]), "distDependencies" : deps([ "jvmci:JVMCI_HOTSPOT", "GRAAL_COMPILER", @@ -1032,10 +1051,11 @@ "GRAAL_HOTSPOT", "jvmci:JVMCI_HOTSPOT", ]), - "exclude" : [ + "exclude" : deps([ "mx:JUNIT", - "JAVA_ALLOCATION_INSTRUMENTER" - ], + "JAVA_ALLOCATION_INSTRUMENTER", + "JVMCI" + ]), }, "GRAAL_TRUFFLE" : {