History

Fixed the bug with thread deaths

Dmitry Kabak (userdima committed 13 years ago

Commit e14eff61 parent 336cdf92 files · +6 −1Browse files

Showing the changes to java/pkg/java (1 of 2 files). Show all

Unified · Split

java/pkg/java/lang/Throwable.java+2−1
@@ -776,7 +776,8 @@ public class Throwable implements Serializable { · 775 unmodified lines
776 * @return a reference to this {@code Throwable} instance.776 * @return a reference to this {@code Throwable} instance.
777 * @see java.lang.Throwable#printStackTrace()777 * @see java.lang.Throwable#printStackTrace()
778 */778 */
779 public synchronized Throwable fillInStackTrace() {779 // [Inferno] removed 'synchronized'
780 public /*synchronized*/ Throwable fillInStackTrace() {
780 if (stackTrace != null ||781 if (stackTrace != null ||
781 backtrace != null /* Out of protocol state */ ) {782 backtrace != null /* Out of protocol state */ ) {
782 fillInStackTrace(0);783 fillInStackTrace(0);