views:

198

answers:

2

Why is java.lang.Thread in the Google App Engine whitelist when it is not supported?

+2  A: 

Only Google (or their employees) can give you the real reason, but my guess is that there are methods in that Class that you may use (such as getStackTrace() or getContextClassLoader()).

Joachim Sauer
sorry can you elaborate, what getSTackTrace() and getContextClassLoader() for..?
cometta
@cometta he linked them to the javadocs
abyx
+6  A: 

Thread is partially supported. For example, you can do

   Thread.sleep(1000);

However, App Engine doesn't allow you to create new thread in anyway. I guess it makes sense for the class to show up in whitelist.

ZZ Coder