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

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

[Octave-bug-tracker] [bug #60396] Java Methods expecting native java cha


From: Tasos Papastylianou
Subject: [Octave-bug-tracker] [bug #60396] Java Methods expecting native java char type input cannot be used
Date: Wed, 14 Apr 2021 16:29:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

URL:
  <https://savannah.gnu.org/bugs/?60396>

                 Summary: Java Methods expecting native java char type input
cannot be used
                 Project: GNU Octave
            Submitted by: tpapastylianou
            Submitted on: Wed 14 Apr 2021 08:29:25 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Tasos Papastylianou
        Originator Email: 
             Open/Closed: Open
                 Release: 6.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

If a java method expects a 'char' input (i.e. a 'java char' type, not an
octave 'char'), it is impossible to call it with valid input.

Example:


dfs = javaObject ( 'java.text.DecimalFormatSymbols' )
dfs.setDecimalSeparator( '.' )


I assume this is because octave treats '.' as a string and passes it to java
as a string object? Or something along those lines?

There are a couple of other bugs in the bug tracker here involving java and
chars, but these seem to mostly relate to conversions from java outputs, not
the inability to pass a 'java char value'.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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