> On Sept. 24, 2020, 8:34 p.m., Benjamin Mahler wrote: > > src/examples/java/TestFramework.java > > Lines 31-53 (original), 31-58 (patched) > > <https://reviews.apache.org/r/72900/diff/1/?file=2239838#file2239838line31> > > > > Seems we should separate the TestFramework.java changes from the > > binding changes?
I'd rather switch to the new signature in the same patch: this patch `@Deprecate`s the old signature, and thus should trigger compilation warnings unless we switch to the new one. - Andrei ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72900/#review221954 ----------------------------------------------------------- On Sept. 25, 2020, 5:48 p.m., Andrei Sekretenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/72900/ > ----------------------------------------------------------- > > (Updated Sept. 25, 2020, 5:48 p.m.) > > > Review request for mesos and Benjamin Mahler. > > > Bugs: MESOS-10189 > https://issues.apache.org/jira/browse/MESOS-10189 > > > Repository: mesos > > > Description > ------- > > Added offer constraints to `updateFramework()` in the Java bindings. > > > Diffs > ----- > > src/examples/java/TestFramework.java > 1dea79c0e5b76385bad74ded755911f4d1858112 > src/java/jni/construct.cpp a48ca07664f7178df97c3a9557f6908507442333 > src/java/jni/org_apache_mesos_MesosSchedulerDriver.cpp > 1817bbafc4ce65ee5e58eb787e71c6d06481a32f > src/java/src/org/apache/mesos/MesosSchedulerDriver.java > 3e74be9e59e1419569ad940e5db5390b629ca376 > src/java/src/org/apache/mesos/SchedulerDriver.java > e04916e055349ee287eb0c9327bc5f6d1e6caec3 > > > Diff: https://reviews.apache.org/r/72900/diff/2/ > > > Testing > ------- > > Testing Done > > With empty constraints: > make check > (and, specifically, src/mesos-tests > --gtest_filter='ExamplesTest.JavaFramework') > > > With non-empty constraints: extended ExamplesTest.JavaFramework (see WIP > https://reviews.apache.org/r/72901 which will most likely be discarded) and > re-ran it. > > > Thanks, > > Andrei Sekretenko > >
