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

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

[Octave-bug-tracker] [bug #53550] New -Xlint warnings during compilation


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #53550] New -Xlint warnings during compilation of Java code
Date: Sun, 1 Jul 2018 10:18:31 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Follow-up Comment #3, bug #53550 (project octave):

Attached is a patch to clean up the unchecked warnings. It also replaces
StringBuffer with StringBuilder and fills in empty @throws Javadoc tags, both
of which some linters may complain about.

https://savannah.gnu.org/bugs/download.php?file_id=44477

The unchecked warnings are fixed by parameterizing the types. This will have
no effect on how they're called from Octave, since Octave is using reflection
to invoke them, and parameterized types are a Java compile time only check.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53550>

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




reply via email to

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