octave-maintainers
[Top][All Lists]
Advanced

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

java_new deprecated + fix


From: Philip Nienhuis
Subject: java_new deprecated + fix
Date: Thu, 13 Dec 2012 13:26:53 -0800 (PST)

Rik,

In changeset 15771:4698ea77aa75 I see that java_new() has already been
deprecated.

1. It is similar to java_invoke() in that only much later a ML-compatible
synonym (javaObject) got created. So if java_new is deprecated, java_invoke
should be deprecated as well. 
But I'd rather see them deprecated just before Octave-3.8rc1 is released -
this change (these changes) give many unwanted warning messages when using
the io package.

2. The java_new in scripts/deprecated has a small error: L.44 should read:
    if (nargin < 1)
rather than
    if (nargin < 2)
I cannot push now (my working dir got mixed up), can you please fix this?
Changeset attached

Thanks,
java_new.cs <http://octave.1599824.n4.nabble.com/file/n4647878/java_new.cs>  
Philip
 



--
View this message in context: 
http://octave.1599824.n4.nabble.com/java-new-deprecated-fix-tp4647878.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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