[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60058] Feature request: function javaversion(
From: |
Ernst Reissner |
Subject: |
[Octave-bug-tracker] [bug #60058] Feature request: function javaversion() |
Date: |
Tue, 16 Feb 2021 04:30:53 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 |
Follow-up Comment #13, bug #60058 (project octave):
Ah i see, but then your comment
'It is not in the scope of the Octave project to document which version
strings different vendors of different components return. (Those projects
could also decide to change the format.)'
is clueless,
["Java " jversion " with " jvendor " " jname " " jjitmode]
specifies the shape of the return value.
So it is clear that a regular expression is to process it
and which one.
Well as long as java is installed at all.
By the way, it is not safe to implement like that.
System.setProperty("java.version", "b;a");
//System.setProperties(null);
System.out.println(System.getProperty("java.version"));
yields b;a,
only when uncommenting the middle line, the correct version occurs.
so needed is javaMethod('setProperties', 'java.lang.System',[]),
[] signifying null.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60058>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), (continued)
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/15
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/15
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/15
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/15
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/15
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(),
Ernst Reissner <=
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Markus Mützel, 2021/02/16
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Philip Nienhuis, 2021/02/28
- [Octave-bug-tracker] [bug #60058] Feature request: function javaversion(), Ernst Reissner, 2021/02/28