fork download
  1. package rudesheim;
  2.  
  3. class Proxy
  4. implements
  5. java.lang.reflect.InvocationHandler
  6. {
  7. private byte
  8. pointerOfObject[];
  9.  
  10. Proxy( byte pointerOfObject[] )
  11. {
  12. this.pointerOfObject = pointerOfObject;
  13. }
  14.  
  15. native Object invoke( byte pointerOfObject[], java.lang.reflect.Method function, Object arguments[] );
  16.  
  17. public Object invoke( Object proxy, java.lang.reflect.Method function, Object arguments[] )
  18. throws
  19. {
  20. return invoke( pointerOfObject, function, arguments );
  21. }
  22. }
  23.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Java HotSpot(TM) Client VM warning: No monotonic clock was available - timed services may be adversely affected if the time-of-day clock changes
Java HotSpot(TM) Client VM warning: No monotonic clock was available - timed services may be adversely affected if the time-of-day clock changes
Warning: Binary file Proxy contains rudesheim.Proxy
spoj: The program compiled successfully, but main class was not found.
      Main class should contain method: public static void main (String[] args).
stdout
Standard output is empty