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

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

[Octave-bug-tracker] [bug #58312] [octave forge] (io) Defer Java detecti


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #58312] [octave forge] (io) Defer Java detection until a function is called
Date: Fri, 8 May 2020 17:52:05 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #8, bug #58312 (project octave):

Thanks Christian.
Intriguing that you see the warning with OpenJDK 1.8 (actually same as mine);
in bug #55174 it was stated that the warnings started with OpenJDK 11. Maybe
the relevant modifications got backported in your distro?
OpenJDK on Mageia 7 is at 1.8 as well so that must be the reason I didn't see
the warning.

@Mike
I thought of that, but I doubt it's that easy. The init routine tries to do
all checks and initialization for the XML routines and all spreadsheet
"interfaces" at once, not just for the Java-based ones, because there is
common stuff. When moving it elsewhere splitting it up is unavoidable. The XML
routines currently get a "free ride" as regards initialization but would need
separate routines then.
Then about the exit routine. Similar holds for that, although probably much
less heavier.

The idea behind this bug report is in principle a good one and I'm not saying
it can't be done. in fact large pieces have already been separated out.
Nonetheless its going to be a lot of work and needs careful thinking over.
Would the gains really outweigh this?

io's init and exit routines weren't made during a spare afternoon; the
knowledge gained obviously isn't lost. If I could start all over I'd have done
it differently but right now we are where we are, aren't we.

But anyway I'll really stop repeating myself.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58312>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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