Thread and InterruptedException aren't available in JavaScript. Possibly 
some change in a different file caused the compiler to reach this file when 
it was never reached before (because it's unused). You could confirm this 
by rolling back to a previous version of your source code and recompiling.

An internal compiler error is a bug, but the fix would probably just be to 
report a nicer error.

- Brian

On Monday, August 27, 2012 8:58:37 AM UTC-7, Magnus wrote:
>
> Hi,
>
> for your interest:
>
> The source file and line number above (Supervisor.java, 262) pointed to an 
> unused method. I commented it out and the compiler exception disappeared.
>
> Here is the method:
>
>  private static void sleepLocal (long ms)
>  {
>   try
>   {
>    Thread.sleep (ms);
>   }
>   catch (InterruptedException e)
>   {
>    e.printStackTrace ();
>   }
>  }
>
> The compiler error message pointed at the line with the 
> InterupptedException.
>
> The method was untouched for more than a year. I wonder why it now caused 
> this problem, and also why the compiler behaves like this.
>
> Magnus 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/oQavAQ5qG0MJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to