Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit318ed92

Browse files
committed
just rewriting odd j2sNative code
1 parentccf7265 commit318ed92

File tree

1 file changed

+14
-8
lines changed
  • sources/net.sf.j2s.java.core/src_4.2/java/lang

1 file changed

+14
-8
lines changed

‎sources/net.sf.j2s.java.core/src_4.2/java/lang/Thread.java‎

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -295,18 +295,24 @@ private void init(ThreadGroup g, Runnable target, String name,
295295
* @see java.lang.Thread#run()
296296
* @see java.lang.Thread#stop()
297297
*
298-
* @j2sNative
299-
* window.setTimeout ((function (runnable) {
300-
* return function () {
301-
* runnable.run ();
302-
*};
303-
* }) (this), 0);
304298
*/
305299
publicsynchronizedvoidstart() {
306-
//;
300+
startT();
307301
}
308302

309-
/**
303+
publicvoidstartT() {
304+
/**
305+
*
306+
* @j2sNative
307+
* window.setTimeout ((function (runnable) {
308+
* return function () {
309+
* runnable.run ();
310+
*};
311+
* }) (this), 0);
312+
*/
313+
{}
314+
}
315+
/**
310316
* If this thread was constructed using a separate
311317
* <code>Runnable</code> run object, then that
312318
* <code>Runnable</code> object's <code>run</code> method is called;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp