aboutsummaryrefslogtreecommitdiff
path: root/javatests
AgeCommit message (Collapse)Author
2018-11-06Model intersection types directlycushon
and use them to represent type variable bounds. MOE_MIGRATED_REVID=220363183
2018-11-06Update to ASM 7.0cushon
MOE_MIGRATED_REVID=219649528
2018-10-25Implement ClassValue equals and hashCodecushon
(now that Type also implements equals and hashCode) MOE_MIGRATED_REVID=218773629
2018-10-23Use AutoValue for Type module objectscushon
in order to get equals and hashCode implementations. MOE_MIGRATED_REVID=218399705
2018-10-22Fix class literal-valued annotation defaultscushon
The type of a class literal isn't necessarily a class, as in `void.class`. MOE_MIGRATED_REVID=218197987
2018-10-22Implement equals, hashCode, and toString for `Const` model objectscushon
MOE_MIGRATED_REVID=218089802
2018-10-17Fill in more of classes bound from bytecodecushon
The additional information is read in lazily, so it's inexpensive if we don't end up needing it. MOE_MIGRATED_REVID=217633111
2018-10-17Improve diagnostics for empty and unterminated char literalscushon
MOE_MIGRATED_REVID=216620223
2018-10-17Improve resolution error diagnosticscushon
Introduce an AST node for identifiers instead of just using String, and use the diagnostic position to improve resolution errors. MOE_MIGRATED_REVID=216452604
2018-10-17Don't crash on explicit boxing castscushon
e.g.: `static final boolean Z = (Boolean) true;` is well-formed, but not a constant expression. MOE_MIGRATED_REVID=215487485
2018-10-17Add a regression test for JDK-8054064 (?)cushon
MOE_MIGRATED_REVID=215427290
2018-10-17Report better errors for unterminated string literalscushon
MOE_MIGRATED_REVID=215306391
2018-09-27Update a linkcushon
MOE_MIGRATED_REVID=213835522
2018-09-27Canonicalization error handlingcushon
Propagate position information from the nearest tree to the type being canonicalized, and report an error if a missing symbol is encountered. MOE_MIGRATED_REVID=213706370
2018-09-11Improve parsing of type-annotated c-style array declarationscushon
MOE_MIGRATED_REVID=212488586
2018-09-10Improve usage errorscushon
Add --help text, and print usage errors instead of crashing MOE_MIGRATED_REVID=212338293
2018-09-09Handle assignment expression parse errorscushon
instead of propagating a null RHS and crashing during const expr evaluation. MOE_MIGRATED_REVID=211488577
2018-09-09Improve diagnostics for missing annotation memberscushon
A missing `value()` method was especially confusing, since we reported "could not find value" and it was unclear that "value" referred to the method rather than an actual value. MOE_MIGRATED_REVID=211218232
2018-09-09Don't depend on the JDK's ElementType enumcushon
in order to support Java 11 compilation with a JDK < 11 host javabase. MOE_MIGRATED_REVID=211155545
2018-09-09Don't crash on duplicate annotation argumentscushon
e.g.`@A(1, 2)` is evaluated as `@A(value=1, value=2)` when the intent was probably `@A({1, 2})`. MOE_MIGRATED_REVID=211142764
2018-09-09Don't crash on circular hierarchiescushon
MOE_MIGRATED_REVID=209806207
2018-09-09Don't crash on invalid constant castscushon
MOE_MIGRATED_REVID=209806176
2018-09-09Use java.util.Optional instead of guava's Optionalcushon
MOE_MIGRATED_REVID=209800977
2018-08-03Prepare turbine for JDK 10cushon
Including handling module-info's in ct.sym for JDK 10 and up. Don't assert on unsupported class file major versions; we'll still find out if changes are necessary. MOE_MIGRATED_REVID=207294946
2018-06-12Don't hang if we run out of input while seeking for matching `)` or `}`cushon
MOE_MIGRATED_REVID=200292694
2018-06-12Improve diagnostics for unresolvable fields inside constant expressionscushon
MOE_MIGRATED_REVID=197954529
2018-06-12Don't crash on multiple visibility modifierscushon
MOE_MIGRATED_REVID=197423090
2018-06-12Fix a crash reporting missing symbols in constant expressionscushon
MOE_MIGRATED_REVID=195301603
2018-06-12Don't report an error if a static type import cannot be resolvedcushon
Single-type imports are allowed to be static, but if they are they cannot be distinguished from member imports until members are resolved. If a static import cannot be processed during type resolution, assume it was a non-type member instead of reporting an error. MOE_MIGRATED_REVID=192795814
2018-04-11Make missing symbol diagnostics more consistentcushon
and record arguments in TurbineError. MOE_MIGRATED_REVID=192525271
2018-04-10Improve diagnostics for missing enclosing classescushon
MOE_MIGRATED_REVID=192185656
2018-04-10Remove unused optionscushon
MOE_MIGRATED_REVID=189380767
2018-03-13Support empty bootclasspathscushon
MOE_MIGRATED_REVID=188977360
2018-03-12Tolerate empty params files in turbinecushon
MOE_MIGRATED_REVID=188766801
2018-03-08Don't crash on private interface methodscushon
MOE_MIGRATED_REVID=188380571
2018-03-08Change the strict deps plugin to read jar owner from manifest.tomlu
The plugin tries to read the following attributes: Target-Label: <label> Injecting-Rule-Kind: <rule kind> These are used instead of the jar owners passed to JavaBuilder from blaze. Any owners currently passed from blaze are now ignored. This CL also half-reverts the command line syntax for JavaBuilder and Turbine. It is now: --classpath <jar1> <jar2> ... --direct_dependencies <jar1> ... MOE_MIGRATED_REVID=187419469
2018-03-08Remove deprecated rule_kind argument from Turbinecushon
MOE_MIGRATED_REVID=185727344
2018-02-14Use a different date time when normalizing zip entriescushon
Relying on 0 to be interpreted as the DOS epoch (and then reinterpreted when reading zip files) creates many opportunities for confusion (e.g. between dos and unix epochs). MOE_MIGRATED_REVID=185419668
2018-02-08Accept --target_label, --injecting_rule_kind in Turbine.tomlu
The values (if present) are written into the manifest with this format: Target-Label: <label> Injecting-Rule-Kind: <kind> In the future, JavaBuilder will make sure of this instead of command line arguments to find owners for jars for its add_dep commands. MOE_MIGRATED_REVID=185008500
2018-02-08Stop skipping module-infoscushon
MOE_MIGRATED_REVID=184918762
2018-01-26Refactor TurbineOptions to make jarToTarget/directJars the source ofcushon
truth instead of directJarsToTargets/indirectJarsToTargets. MOE_MIGRATED_REVID=183404853
2018-01-26Change Turbine command lines to not require CustomMultiArgv.tomlu
Instead of passing: --direct_dependency jar1 jarowner1 aspect1 --indirect_dependency jar2 jarowner2 aspect2 --classpath jar1 jar2 we pass --dependencies jar1 jarowner1;aspect1 jar2 jarowner2:aspect2 --direct_dependencies jar1 This formats doesn't need to inspect each item in the incoming nested set, and thus doesn't need CustomMultiArgv. This change needs to be rolled out in phases, so this CL changes Turbine to accept either format. MOE_MIGRATED_REVID=183155036
2018-01-22Initial end-to-end support for module-infoscushon
MOE_MIGRATED_REVID=182836497
2018-01-19Class writing support for module attributescushon
MOE_MIGRATED_REVID=182568594
2018-01-18Class reading support for module attributescushon
MOE_MIGRATED_REVID=182458720
2018-01-17Initial support for parsing module-infos.cushon
MOE_MIGRATED_REVID=182253064
2018-01-12Propagate --release flags from --javacopts to turbine's --release flagcushon
Bazel currently treats release as a regular --javacopt, and doesn't break it out as a top level flag. MOE_MIGRATED_REVID=181770822
2018-01-11Require --javacopts to be terminated with --cushon
MOE_MIGRATED_REVID=181678112
2018-01-11JDK 9 bootclasspath support: add support for --release and --systemcushon
MOE_MIGRATED_REVID=181664184
2018-01-10Get more turbine tests running on JDK 9cushon
MOE_MIGRATED_REVID=181517682