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 detectio


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #58312] [octave-forge](io) Defer Java detection until a function is called
Date: Wed, 6 May 2020 16:45:18 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 Lightning/5.8.1

Update of bug #58312 (project octave):

        Operating System:               GNU/Linux => Any                    
                 Summary: (io) Defer Java detection until a function is called
=> [octave-forge](io) Defer Java detection until a function is called

    _______________________________________________________

Follow-up Comment #1:

Thanks for your bug report (initiated in bug #47480).

The spam you refer to seems to be an upstream issue.

In a more general setting I think your suggestion is in principle a valid one.
However, in the real ugly world things aren't so easy.

As far as the io package's Java usage is concerned, I foresee significant code
complexity just to silence undue messages ("spam") from maybe somewhat buggy
external SW. As io package maintainer I am not prepared to go that route (yet,
that is; but that "yet" may last quite some time).
Another motive is that the io package is only loaded to use the functions
inside; the vast majority of it is for spreadsheet I/O. I see little advantage
in only detecting Java at the time the first function call is made versus at
the time the io package is initialized. If you don't need the functions, just
don't load the io package.

BTW in bug #55174 I've just uploaded a patch (also submitted earlier in bug
#58266) that fixes the issue that provoked you to enter this bug report. If
you're able to build Octave I'd like to invite you to try this patch and
report back in bug #55174.


    _______________________________________________________

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]