mirror of git://gcc.gnu.org/git/gcc.git
				
				
				
			
		
			
				
	
	
		
			25 lines
		
	
	
		
			338 B
		
	
	
	
		
			Java
		
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			338 B
		
	
	
	
		
			Java
		
	
	
	
| // Test that FindClass initializes the class.
 | |
| 
 | |
| public class findclass2
 | |
| {
 | |
|   public static class inner
 | |
|   {
 | |
|     static
 | |
|     {
 | |
|       System.out.println("hello");
 | |
|     }
 | |
|   }
 | |
| 
 | |
|   public static native void searchClass();
 | |
| 
 | |
|   static
 | |
|   {
 | |
|     System.loadLibrary("findclass2");
 | |
|   }
 | |
| 
 | |
|   public static void main(String[] args)
 | |
|   {
 | |
|     searchClass();
 | |
|   }
 | |
| }
 |