File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
tools/src/main/scala/org/apache/spark/tools Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,7 @@ object MimaExcludes {
5454 MimaBuild .excludeSparkClass(" streaming.flume.FlumeTestUtils" ) ++
5555 MimaBuild .excludeSparkClass(" streaming.flume.PollingFlumeTestUtils" ) ++
5656 Seq (
57- ProblemFilters .exclude[MissingMethodProblem ](
58- " org.apache.spark.ml.classification.LogisticCostFun.this" ),
59- ProblemFilters .exclude[MissingMethodProblem ](
60- " org.apache.spark.ml.classification.LogisticAggregator.add" ),
61- ProblemFilters .exclude[MissingMethodProblem ](
62- " org.apache.spark.ml.classification.LogisticAggregator.count" ),
57+ // MiMa does not deal properly with sealed traits
6358 ProblemFilters .exclude[MissingMethodProblem ](
6459 " org.apache.spark.ml.classification.LogisticRegressionSummary.featuresCol" )
6560 ) ++ Seq (
Original file line number Diff line number Diff line change @@ -72,7 +72,9 @@ object GenerateMIMAIgnore {
7272 val classSymbol = mirror.classSymbol(Class .forName(className, false , classLoader))
7373 val moduleSymbol = mirror.staticModule(className)
7474 val directlyPrivateSpark =
75- isPackagePrivate(classSymbol) || isPackagePrivateModule(moduleSymbol)
75+ isPackagePrivate(classSymbol) ||
76+ isPackagePrivateModule(moduleSymbol) ||
77+ classSymbol.isPrivate
7678 val developerApi = isDeveloperApi(classSymbol) || isDeveloperApi(moduleSymbol)
7779 val experimental = isExperimental(classSymbol) || isExperimental(moduleSymbol)
7880 /* Inner classes defined within a private[spark] class or object are effectively
You can’t perform that action at this time.
0 commit comments