You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 9, 2026. It is now read-only.
Better surface class-parse Java resolve errors to users #739
@jpobst@jonpryor
Something packages should be added for compiling or some classes or namespace will lost, but this packages message will give to users only use jar2xml setting.
And jar2xml will be removed in the feature.
So you should move J2X9001 to class-parse from jar2xml.
After a quick look, I think the root problem here is that "errors" in the class-parse Java type resolution phase do not get surfaced to the user as MSBuild errors/warnings. They only show up in the build log, and only if the verbosity is set to Detailed or Diagnostic. With the correct verbosity, the build log should show a message like:
Error while processing '[Class] com.scwang.smart.refresh.layout.SmartRefreshLayout': Type 'android.support.v4.view.NestedScrollingParent' was not found.
We should convert these to proper MSBuild warnings or some other mechanism that ensures they get displayed to the user.
Activity
jingliancui commentedon Oct 16, 2020
I don't know what change internal in #682 (comment) .
But maybe useful here.
jpobst commentedon Oct 16, 2020
After a quick look, I think the root problem here is that "errors" in the
class-parseJava type resolution phase do not get surfaced to the user as MSBuild errors/warnings. They only show up in the build log, and only if the verbosity is set toDetailedorDiagnostic. With the correct verbosity, the build log should show a message like:We should convert these to proper MSBuild warnings or some other mechanism that ensures they get displayed to the user.
[-]Move J2X9001 to class-parse from jar2xml[/-][+]Better surface class-parse Java resolve errors to users[/+][generator] Add Java.Interop.Tools.JavaTypeSystem (#849)
[generator] Add Java.Interop.Tools.JavaTypeSystem (#849)