Skip to content

Commit 318ed92

Browse files
committed
just rewriting odd j2sNative code
1 parent ccf7265 commit 318ed92

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
public synchronized void start() {
306-
// ;
300+
startT();
307301
}
308302

309-
/**
303+
public void startT() {
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)