File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
tools/jnimarshalmethod-gen Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ void LoadProfile (string profilePath)
132132 typeNameRegexes . Add ( new Regex ( line ) ) ;
133133 }
134134 } catch ( Exception e ) {
135- Error ( $ "Unable to read profile '{ profilePath } '.\n { e } ") ;
135+ Error ( $ "Unable to read profile '{ profilePath } '.{ Environment . NewLine } { e } ") ;
136136 Environment . Exit ( 4 ) ;
137137 }
138138 }
@@ -174,7 +174,7 @@ void ProcessAssemblies (List<string> assemblies)
174174 try {
175175 CreateMarshalMethodAssembly ( assembly ) ;
176176 } catch ( Exception e ) {
177- Error ( $ "Unable to process assembly '{ assembly } '\n { e . Message } \n { e } ") ;
177+ Error ( $ "Unable to process assembly '{ assembly } '{ Environment . NewLine } { e . Message } { Environment . NewLine } { e } ") ;
178178 Environment . Exit ( 1 ) ;
179179 }
180180 }
@@ -189,7 +189,7 @@ void CreateJavaVM (string jvmDllPath)
189189 try {
190190 builder . CreateJreVM ( ) ;
191191 } catch ( Exception e ) {
192- Error ( $ "Unable to create Java VM\n { e } ") ;
192+ Error ( $ "Unable to create Java VM{ Environment . NewLine } { e } ") ;
193193 Environment . Exit ( 3 ) ;
194194 }
195195 }
You can’t perform that action at this time.
0 commit comments