forked from mirrors/gecko-dev
		
	 8f6ba7ef0c
			
		
	
	
		8f6ba7ef0c
		
	
	
	
	
		
			
			Instead of the helper methods in GeckoBundle, add SDK JNI calls for the boxing/unboxing operations, and use those calls directly. Moreover, for unboxing Boolean/Double/Integer, use their internal "value" field value directly if possible, to avoid making a JNI method call. MozReview-Commit-ID: Azvov1gCeje --HG-- extra : rebase_source : 34cd4a821d2b47e48957f241bbf165439635be59
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			543 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			543 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| [java.lang.Boolean = skip:true]
 | |
| # Use static fields for boxing boolean.
 | |
| TRUE =
 | |
| FALSE =
 | |
| booleanValue =
 | |
| 
 | |
| [java.lang.Double = skip:true]
 | |
| <init>(D)V =
 | |
| 
 | |
| [java.lang.Integer = skip:true]
 | |
| # Use valueOf() for boxing int; don't use constructor
 | |
| # because some Integer values are cached.
 | |
| valueOf(I)Ljava/lang/Integer; =
 | |
| 
 | |
| [java.lang.Number = skip:true]
 | |
| # Use doubleValue() for unboxing Double/Float/Long.
 | |
| doubleValue =
 | |
| # Use intValue() for unboxing Byte/Int/Short.
 | |
| intValue =
 | |
| 
 | |
| [java.lang.String = skip:true]
 | |
| valueOf(Ljava/lang/Object;)Ljava/lang/String; =
 |