WALA/com.ibm.wala.cast.java.test.../src
Ben Liblit 5336a08af2 Avoid using deprecated boxing constructors
Boxing a primitive using the constructor ("new Integer(4)") always
creates a distinct new boxed instance.  That's rarely what you need,
and in fact all of those constructors have been deprecated in Java 9.
Using the static "valueOf" method instead ("Integer.valueOf(4)") can
give better performance by reusing existing instances.  You no longer
get a unique boxed object, but generally that's OK.
2018-06-05 14:44:59 -05:00
..
alreadywalaunittests Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
bugfixes When converting JDT AST to IR, a do-while loop in a case statement will throw NPE (#186) 2017-06-07 08:27:23 -07:00
foo Disable some Eclipse warnings on Java test inputs 2018-04-18 11:29:25 -05:00
javaonepointfive Avoid using deprecated boxing constructors 2018-06-05 14:44:59 -05:00
p Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
AnonymousClass.java Avoid using deprecated boxing constructors 2018-06-05 14:44:59 -05:00
Array1.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
ArrayLiteral1.java Avoid using deprecated boxing constructors 2018-06-05 14:44:59 -05:00
ArrayLiteral2.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
Breaks.java cross-cutting changes to make more of WALA runnable with TeaVM. The biggest change is refactoring to AnalysisCache and friends; since TeaVM does not support SoftReference, I needed to add a layer of interfaces so that I can use a more simpleminded caching implementation for TeaVM. There are other changes to Module and friends to break connections with File and URL, which also cause TeaVM grief. I also organized imports in many places to remove unused types that caused trouble. 2017-02-02 20:33:27 -05:00
CastFromNull.java Suppress Eclipse warnings that arise in JLex, which we don't control 2017-08-30 17:03:35 -07:00
Casts.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
DefaultConstructors.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
Exception1.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
Exception2.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
Finally1.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
Finally2.java add copyright messages 2009-01-09 14:13:17 +00:00
FunkySupers.java Add @Override annotations wherever possible 2017-06-30 08:54:12 -07:00
Inheritance1.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
InheritedField.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
InnerClass.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
InnerClassA.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
InnerClassLexicalReads.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
InnerClassSuper.java cross-cutting changes to make more of WALA runnable with TeaVM. The biggest change is refactoring to AnalysisCache and friends; since TeaVM does not support SoftReference, I needed to add a layer of interfaces so that I can use a more simpleminded caching implementation for TeaVM. There are other changes to Module and friends to break connections with File and URL, which also cause TeaVM grief. I also organized imports in many places to remove unused types that caused trouble. 2017-02-02 20:33:27 -05:00
InterfaceTest1.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
LocalClass.java Avoid using deprecated boxing constructors 2018-06-05 14:44:59 -05:00
MiniaturList.java add copyright messages 2009-01-09 14:13:17 +00:00
MiniaturSliceBug.java Add @Override annotations wherever possible 2017-06-30 08:54:12 -07:00
Monitor.java add copyright messages 2009-01-09 14:13:17 +00:00
Monitor2.java expanded Monitor2 2017-09-16 14:24:47 -04:00
NullArrayInit.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
QualifiedStatic.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
Scoping1.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
Scoping2.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
Simple1.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
SimpleCalls.java Add @Override annotations wherever possible 2017-06-30 08:54:12 -07:00
StaticInitializers.java fixes to Java source test failures 2009-02-02 18:40:10 +00:00
StaticNesting.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
Switch1.java Escalate switch-related diagnostics from warnings to errors 2017-08-15 14:55:34 -07:00
Thread1.java Add @Override annotations wherever possible 2017-06-30 08:54:12 -07:00
TwoClasses.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00
WelcomeInitializers.java add copyright messages 2009-01-09 14:13:17 +00:00
WhileTest1.java Remove unnecessary warning-suppression annotations 2017-07-26 20:08:34 -07:00