octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48820] Java interface: documentation of type


From: Ernst Reissner
Subject: [Octave-bug-tracker] [bug #48820] Java interface: documentation of type conversions Java<=>Octave
Date: Wed, 8 Mar 2017 04:24:57 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

Follow-up Comment #10, bug #48820 (project octave):

a few comments on file 39826: 

line 45: 
address@hidden, @code{short}, @code{int}, and @code{long} 
without comma before 'and' 

line 68: 
The special value @code{null} has node associated wrapper class.  
You mean: 
The special value @code{null} has no associated wrapper class. 
I think the problem occurs when unwrapping not wrapping. 
So I would write: 
Trying to unbox the special reference @code{null} 
results in a NullPointerException because the primitive types 
offer no counterpart to @code{null} in java. 

line 92
Most of the conversion is straight forward.  
More subtile are the integer types 

This does not fit. 
I would write: 
Most of the conversion is straight forward.  
Care has to be taken with conversion of octave unsigned integer types since
they can exceed the range of Java's according signed integer types... 

line 95:
'as a consequence' does not fit. 
I just would write: 'Thus' 

line 96: 
singed-->signed. 

line 116: 
another two exceptions are the @code{void} and @code{null}. 
should be 
another two exceptions are the return type @code{void} and the return value
@code{null}. 

The rest seems ok. 
Note that this is not the full truth! 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48820>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]