Mercurial > hg > truffle
comparison src/os/solaris/launcher/java.c @ 605:98cb887364d3
6810672: Comment typos
Summary: I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Fri, 27 Feb 2009 13:27:09 -0800 |
parents | ad8c8ca4ab0f |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
604:ec59443af135 | 605:98cb887364d3 |
---|---|
417 if (classname == NULL) { | 417 if (classname == NULL) { |
418 ReportExceptionDescription(env); | 418 ReportExceptionDescription(env); |
419 goto leave; | 419 goto leave; |
420 } | 420 } |
421 mainClass = LoadClass(env, classname); | 421 mainClass = LoadClass(env, classname); |
422 if(mainClass == NULL) { /* exception occured */ | 422 if(mainClass == NULL) { /* exception occurred */ |
423 ReportExceptionDescription(env); | 423 ReportExceptionDescription(env); |
424 message = "Could not find the main class. Program will exit."; | 424 message = "Could not find the main class. Program will exit."; |
425 goto leave; | 425 goto leave; |
426 } | 426 } |
427 (*env)->ReleaseStringUTFChars(env, mainClassName, classname); | 427 (*env)->ReleaseStringUTFChars(env, mainClassName, classname); |
439 if (classname == NULL) { | 439 if (classname == NULL) { |
440 ReportExceptionDescription(env); | 440 ReportExceptionDescription(env); |
441 goto leave; | 441 goto leave; |
442 } | 442 } |
443 mainClass = LoadClass(env, classname); | 443 mainClass = LoadClass(env, classname); |
444 if(mainClass == NULL) { /* exception occured */ | 444 if(mainClass == NULL) { /* exception occurred */ |
445 ReportExceptionDescription(env); | 445 ReportExceptionDescription(env); |
446 message = "Could not find the main class. Program will exit."; | 446 message = "Could not find the main class. Program will exit."; |
447 goto leave; | 447 goto leave; |
448 } | 448 } |
449 (*env)->ReleaseStringUTFChars(env, mainClassName, classname); | 449 (*env)->ReleaseStringUTFChars(env, mainClassName, classname); |