| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
--
PiperOrigin-RevId: 147362001
MOS_MIGRATED_REVID=147362001
|
|
|
|
|
|
|
|
| |
internal versions.
--
PiperOrigin-RevId: 147355493
MOS_MIGRATED_REVID=147355493
|
|
|
|
|
|
|
|
|
| |
Fixes: https://github.com/bazelbuild/bazel/issues/2520
Fixes one of the bugs causing https://github.com/bazelbuild/bazel/issues/2473
--
PiperOrigin-RevId: 147335357
MOS_MIGRATED_REVID=147335357
|
|
|
|
|
|
|
|
|
|
|
|
| |
that is portable across JDK versions, and doesn't depend on the javac
distributed with Bazel.
There is no support for Error Prone, strict Java deps, header compilation,
Android desugaring, or any other features that depend on the Bazel javac.
--
PiperOrigin-RevId: 147224490
MOS_MIGRATED_REVID=147224490
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 147159416
MOS_MIGRATED_REVID=147159416
|
|
|
|
|
|
|
|
|
| |
including e.g. deferred diagnostic notes and spurious strict deps
diagnostics.
--
PiperOrigin-RevId: 146542770
MOS_MIGRATED_REVID=146542770
|
|
|
|
|
|
|
|
|
| |
Move the functionality for building resources jars out of JavaBuilder, in
preparation for building resource jars as a separate action.
--
PiperOrigin-RevId: 146086774
MOS_MIGRATED_REVID=146086774
|
|
|
|
|
|
|
|
|
| |
This was a work-around for a javac bug, and is unnecessary now that
we're setting locations using the API.
--
PiperOrigin-RevId: 146079935
MOS_MIGRATED_REVID=146079935
|
|
|
|
|
|
|
|
|
|
| |
a strict deps error.
Currently, the plugin canonicalizes targets using the 'target.properties' resource, this allows strict deps on private visibility rules to be resolved. However, if a rule in the target mapping itself has a strict deps error the wrong recipient will be calculated.
--
PiperOrigin-RevId: 145745493
MOS_MIGRATED_REVID=145745493
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
This change is no longer needed because commit d9a7d3a789be559bd6972208af21adae871d7a44 is rollbacked
*** Original change description ***
Add --manifest_file option into BazelJavaBuilder
Now Bazel JavaBuilder can specifiy a file as the manifest file, before
this it just creates the manifest file on the fly.
--
PiperOrigin-RevId: 145534408
MOS_MIGRATED_REVID=145534408
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 145507177
MOS_MIGRATED_REVID=145507177
|
|
|
|
|
|
|
|
|
|
|
| |
Now Bazel JavaBuilder can specifiy a file as the manifest file, before
this it just creates the manifest file on the fly.
--
Change-Id: I515d63a008e2c9e9113c56d3646b8bc78b76b3a7
Reviewed-on: https://cr.bazel.build/8352
PiperOrigin-RevId: 145428635
MOS_MIGRATED_REVID=145428635
|
|
|
|
|
|
|
|
| |
that they are running in hjar compilation
--
PiperOrigin-RevId: 145413255
MOS_MIGRATED_REVID=145413255
|
|
|
|
|
|
|
|
|
|
| |
Completion failures are usually caught and printed at the top-level, but
if they occur inside an Error Prone check they get wrapped and reported
as error diagnostics.
--
PiperOrigin-RevId: 145322258
MOS_MIGRATED_REVID=145322258
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 145156880
MOS_MIGRATED_REVID=145156880
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 145152574
MOS_MIGRATED_REVID=145152574
|
|
|
|
|
|
|
|
|
| |
we only care about success or failure, and this avoids an internal
API use.
--
PiperOrigin-RevId: 145151690
MOS_MIGRATED_REVID=145151690
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 145145109
MOS_MIGRATED_REVID=145145109
|
|
|
|
|
|
|
|
| |
Fixes bazelbuild/bazel#1342
--
PiperOrigin-RevId: 145144856
MOS_MIGRATED_REVID=145144856
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Turns out, we couldn't run jarjar because the Java launcher script looks for the .jars in the runfiles and build-runfiles is stubbed out during bootstrapping.
The only reason why this worked at all is that sandboxing *also* doesn't work during bootstrapping but it causes the creation of symlinks that happened to be just in the right place for the Java launcher to find the .jars .
The fix is:
- Explicitly disable sandboxing during bootstrapping so that coincidences like this don't happen again
- Pass a --javabase and --host_javabase option during the bootstrap build so that we don't need any symlinks to access to JVM
- Invoke jarjar using its deploy jar instead of the launcher script.
That was fun.
--
PiperOrigin-RevId: 145083357
MOS_MIGRATED_REVID=145083357
|
|
|
|
|
|
|
|
|
|
| |
...while we have the problem with the hard-coded path to /bin/bash.
--
Change-Id: Icba0030458da42d1847fa68d6bf312195ff083f9
Reviewed-on: https://cr.bazel.build/8393
PiperOrigin-RevId: 145062669
MOS_MIGRATED_REVID=145062669
|
|
|
|
|
|
|
|
|
|
| |
These exceptions are typically handled in javac and result in a diagnostic, but
it's possible for them to be thrown to the top-level by plugins or annotation
processors. If that happens they will be printed to the error output stream.
--
PiperOrigin-RevId: 145032097
MOS_MIGRATED_REVID=145032097
|
|
|
|
|
|
|
|
| |
Fixes bazelbuild/bazel#1405
--
PiperOrigin-RevId: 145015113
MOS_MIGRATED_REVID=145015113
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Didn't fix the problem.
*** Original change description ***
Tag targets as jdk8 to avoid building them for jdk7
--
PiperOrigin-RevId: 144974286
MOS_MIGRATED_REVID=144974286
|
|
|
|
|
|
|
|
|
| |
instead of producing text output containing formatted diagnostics. This is
necessary to support robust, locale-independent diagnostic post-processing.
--
PiperOrigin-RevId: 144907133
MOS_MIGRATED_REVID=144907133
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 144858495
MOS_MIGRATED_REVID=144858495
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 144857011
MOS_MIGRATED_REVID=144857011
|
|
|
|
|
|
|
|
| |
javac enabled end positions by default when invoke using the API.
--
PiperOrigin-RevId: 144850857
MOS_MIGRATED_REVID=144850857
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 144849308
MOS_MIGRATED_REVID=144849308
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Windows. This way, we don't need a new release to make coverage collection happen.
This is the fifth try on commit 823091f7516abf7d854021edc765daf1467f1647 . This time, it's disabled on Windows because two bugs (#2306 and #2342) collude to make it impossible to run Java binaries during the build on Windows and jarjar is a Java binary.
Tested by building //src:bazel on a Windows machine with --output_base=<something with a $ sign in it>. I also verified that the genrule gets run by adding an "exit 1" at its beginning.
Fifth time is the charm! Hopefully we don't get to seven.
--
PiperOrigin-RevId: 144818587
MOS_MIGRATED_REVID=144818587
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Still doesn't work :( Even though the stub template was changed at HEAD, it comes from released Blaze, which is 0.4.3 and thus contains the quoting bug.
*** Original change description ***
Jarjar the third-party dependencies of the Jacoco test runner.
This is the second encore of commit 823091f7516abf7d854021edc765daf1467f1647. The first one failed because jarjar tried to write to C:\WINDOWS , the second one failed because cygpath does not always return a proper temp directory, the third one failed because the bash quoting doesn't handle $ signs in directories (fixed in commit 35a37e0429add201342dd1d005bc9286c53c02c3).
Fourth time is the charm!
--
PiperOrigin-RevId: 144695898
MOS_MIGRATED_REVID=144695898
|
|
|
|
|
|
|
|
|
|
| |
This is the second encore of commit 823091f7516abf7d854021edc765daf1467f1647. The first one failed because jarjar tried to write to C:\WINDOWS , the second one failed because cygpath does not always return a proper temp directory, the third one failed because the bash quoting doesn't handle $ signs in directories (fixed in commit 35a37e0429add201342dd1d005bc9286c53c02c3).
Fourth time is the charm!
--
PiperOrigin-RevId: 144689400
MOS_MIGRATED_REVID=144689400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks Bazel build for Windows using Java 1.8
http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=windows-x86_64/1188/
*** Original change description ***
Jarjar the third-party dependencies of the Jacoco test runner.
This is the second encore of commit 823091f7516abf7d854021edc765daf1467f1647. The first one failed because jarjar tried to write to C:\WINDOWS , the second one failed because cygpath doesn't work for some reason on our CI machines and I hope that the "jarjar_bin cannot found" error message was only a fluke.
Otherwise, this'll be fixed online.
--
PiperOrigin-RevId: 144630946
MOS_MIGRATED_REVID=144630946
|
|
|
|
|
|
|
|
|
|
| |
This is the second encore of commit 823091f7516abf7d854021edc765daf1467f1647. The first one failed because jarjar tried to write to C:\WINDOWS , the second one failed because cygpath doesn't work for some reason on our CI machines and I hope that the "jarjar_bin cannot found" error message was only a fluke.
Otherwise, this'll be fixed online.
--
PiperOrigin-RevId: 144625508
MOS_MIGRATED_REVID=144625508
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
bazelbuild/bazel#2123 is fixed
*** Original change description ***
Fix JavaLibraryBuildRequest for java 7
Bazel still supports java 7. This cl fixes a java 8-only construct introduced by commit 3c5e55ff8e058b624ce26e803ff00434c70d4b91.
Liam, feel free to fix it to your liking afterwards.
--
PiperOrigin-RevId: 144511670
MOS_MIGRATED_REVID=144511670
|
|
|
|
|
|
|
|
|
|
| |
javac's main catches all exceptions and returns an exit code, the API does not.
This restores error handling that was lost when we migrated to the API in
commit 3c5e55ff8e058b624ce26e803ff00434c70d4b91.
--
PiperOrigin-RevId: 144457176
MOS_MIGRATED_REVID=144457176
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows JavaBuilder to support srcjars containing entries that
differ only in case, even if the platform filesystem is case insensitive.
Also, simplify srcjar handling and remove the SourceJarEntryListener
abstraction since it wasn't pulling its weight.
--
PiperOrigin-RevId: 144456040
MOS_MIGRATED_REVID=144456040
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
bazelbuild/bazel#2123 is fixed
*** Original change description ***
Add explicit type annotations in BlazeJavacArguments.java
Fixes bazel-tests for java 7 after commit 3c5e55ff8e058b624ce26e803ff00434c70d4b91
--
PiperOrigin-RevId: 144453400
MOS_MIGRATED_REVID=144453400
|
|
|
|
|
|
|
|
| |
to use nio, and remove unused features.
--
PiperOrigin-RevId: 144396133
MOS_MIGRATED_REVID=144396133
|
|
|
|
|
|
|
|
|
| |
Instead of passing strings representing paths in the default
filesystem.
--
PiperOrigin-RevId: 144395118
MOS_MIGRATED_REVID=144395118
|
|
|
|
|
|
|
|
| |
Some of these abstract classes used to have more than one subtype.
--
PiperOrigin-RevId: 144366452
MOS_MIGRATED_REVID=144366452
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 144256082
MOS_MIGRATED_REVID=144256082
|
|
|
|
|
|
|
|
|
| |
Bazel still supports java 7. This cl fixes a java 8-only construct introduced by commit 3c5e55ff8e058b624ce26e803ff00434c70d4b91.
Liam, feel free to fix it to your liking afterwards.
--
PiperOrigin-RevId: 144206418
MOS_MIGRATED_REVID=144206418
|
|
|
|
|
|
|
|
|
|
| |
agent through the $jacocorunner dependency.
They are either both linked in or neither of them is, so there isn't much point in separating them.
--
PiperOrigin-RevId: 144191570
MOS_MIGRATED_REVID=144191570
|
|
|
|
|
|
|
|
| |
Fixes bazel-tests for java 7 after commit 3c5e55ff8e058b624ce26e803ff00434c70d4b91
--
PiperOrigin-RevId: 144180125
MOS_MIGRATED_REVID=144180125
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This unifies the test and production javac invocations. Location arguments
(e.g. classpath, sources) are now set programatically from Paths, instead
of going through string args.
The classloader masking plugin is now just a custom filemanager, since javac
uses the same context for the entire compilation and we don't need a plugin
to carry it across annotation processing rounds.
--
PiperOrigin-RevId: 144110025
MOS_MIGRATED_REVID=144110025
|
|
|
|
|
|
|
|
| |
it conflicts with IntelliJ dependencies, till we find a better way to separate the dependencies of the Test Runner from the dependencies of the Test Target.
--
PiperOrigin-RevId: 144100298
MOS_MIGRATED_REVID=144100298
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
*still* does not work with Windows:
http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=windows-x86_64/lastBuild/console
*** Original change description ***
Jarjar the third-party dependencies of the Jacoco test runner.
This is an encore of commit 823091f7516abf7d854021edc765daf1467f1647, which failed because Java temp directory handling in actions is broken at the moment.
Fixes #2343.
--
PiperOrigin-RevId: 144076235
MOS_MIGRATED_REVID=144076235
|
|
|
|
|
|
|
|
| |
08426525c517599a76b4f69814baf28731e840c7 .
--
PiperOrigin-RevId: 144071698
MOS_MIGRATED_REVID=144071698
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 144039394
MOS_MIGRATED_REVID=144039394
|