Commit Graph

7 Commits

Author SHA1 Message Date
William S Fulton c2ad64d0a8 Java compiler lint warnings fixes in test code
Fixes:
[cast] redundant cast
[rawtypes] found raw type
[serial] serializable class has no definition of serialVersionUID

Also suppress warning: auxiliary class TargetLanguageBase in ./inherit_target_language.java should not be accessed from outside its own source file
2025-04-02 22:52:30 +01:00
Olly Betts 5f8b9135cc Fix director_classes testcase failures on x86
Adjust the floating point constants to be 1.125 and 2.25 (which
can be exactly represented in base-2 floating point) instead of
1.1 and 2.2 (which can't).  This avoids problems on platforms where
floating point calculations suffer from excess precision, the most
commonly used of which is x86 when using 387 FP instructions.
2023-11-19 21:45:30 +13:00
Olly Betts 901d1fc061 Fix comment typo 2022-01-24 12:16:26 +13:00
William S Fulton dafe2d6949 Add director typemaps for pointer const ref types 2017-10-24 23:47:40 +01:00
William S Fulton cc15fcebd0 Fix java testcase for jdk-1.9
Package.getName() returns an empty string instead of null in jdk-1.9
exposing bug in use of replaceAll whose 1st arg is a regex expression.
2016-05-01 16:32:15 +01:00
William S Fulton d06e64c468 Fix for some older jdks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:47:36 +00:00
William S Fulton 514c5b04e5 comprehensive director runtime tests based on C# version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-07 10:09:46 +00:00