Compiler log for org.eclipse.equinox.app_1.7.500.v20250629-0337 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 248, INFOS: 0

errors others warnings infos forbidden warnings discouraged warnings

ERRORS

top others warnings infos forbidden warnings discouraged warnings

OTHER WARNINGS

top errors infos forbidden warnings discouraged warnings

/osgi/org/osgi/service/application/ApplicationAdminPermission.java : 39 warnings :

OTHER WARNINGS
1. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 48)
public static final String LIFECYCLE_ACTION = "lifecycle";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
2. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 56)
public static final String SCHEDULE_ACTION = "schedule";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
3. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 61)
public static final String LOCK_ACTION = "lock";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
4. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 100)
super(filter == null ? "*" : filter);
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
5. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 103)
filter = "*";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
6. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 107)
throw new NullPointerException( "Action string cannot be null!" );
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
7. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 111)
this.filter = (filter == null ? "*" : filter);
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
8. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 114)
if( !filter.equals( "*" ) && !filter.equals( "<<SELF>>" ) ) {
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
9. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 114)
if( !filter.equals( "*" ) && !filter.equals( "<<SELF>>" ) ) {
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
10. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 131)
throw new NullPointerException( "ApplicationDescriptor and action string cannot be null!" );
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
11. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 197)
if( !filter.equals("*") ) {
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
12. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 202)
if( filter.equals( "<<SELF>>") ) {
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
13. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 212)
Hashtable props = new Hashtable();
Hashtable is a raw type. References to generic type Hashtable<K,V> should be parameterized
14. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 212)
Hashtable props = new Hashtable();
Hashtable is a raw type. References to generic type Hashtable<K,V> should be parameterized
15. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 213)
props.put( "pid", other.applicationDescriptor.getApplicationId() );
Type safety: The method put(Object, Object) belongs to the raw type Hashtable. References to generic type Hashtable<K,V> should be parameterized
16. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 213)
props.put( "pid", other.applicationDescriptor.getApplicationId() );
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
17. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 214)
props.put( "signer", new SignerWrapper( other.applicationDescriptor ) );
Type safety: The method put(Object, Object) belongs to the raw type Hashtable. References to generic type Hashtable<K,V> should be parameterized
18. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 214)
props.put( "signer", new SignerWrapper( other.applicationDescriptor ) );
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
19. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 221)
if( !flt.match( props ) ) {
Type safety: The expression of type Hashtable needs unchecked conversion to conform to Dictionary<String,?>
20. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 227)
if( !actionsVector.containsAll( other.actionsVector ) ) {
Type safety: The method containsAll(Collection) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
21. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 296)
private static final Vector ACTIONS = new Vector();
Vector is a raw type. References to generic type Vector<E> should be parameterized
22. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 296)
private static final Vector ACTIONS = new Vector();
Vector is a raw type. References to generic type Vector<E> should be parameterized
23. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 297)
private Vector actionsVector;
Vector is a raw type. References to generic type Vector<E> should be parameterized
24. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 303)
ACTIONS.add(LIFECYCLE_ACTION);
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
25. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 304)
ACTIONS.add(SCHEDULE_ACTION);
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
26. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 305)
ACTIONS.add(LOCK_ACTION);
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
27. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 308)
private static Vector actionsVector(String actions) {
Vector is a raw type. References to generic type Vector<E> should be parameterized
28. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 309)
Vector v = new Vector();
Vector is a raw type. References to generic type Vector<E> should be parameterized
29. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 309)
Vector v = new Vector();
Vector is a raw type. References to generic type Vector<E> should be parameterized
30. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 310)
StringTokenizer t = new StringTokenizer(actions.toUpperCase(), ",");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
31. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 313)
v.add(action.toLowerCase());
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
32. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 317)
v.add( LIFECYCLE_ACTION );
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
33. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 331)
public SignerWrapper(String pattern) {
The constructor ApplicationAdminPermission.SignerWrapper(String) is never used locally
34. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 344)
ApplicationDescriptor matchAppDesc = (ApplicationDescriptor) (appDesc != null ? appDesc : other.appDesc);
Unnecessary cast from ApplicationDescriptor to ApplicationDescriptor
35. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 353)
if ( actions.equals("*") ) {
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
36. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 354)
actionsVector = actionsVector( LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION );
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
37. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 354)
actionsVector = actionsVector( LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION );
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
38. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 355)
} else if (!ACTIONS.containsAll(actionsVector)) {
Type safety: The method containsAll(Collection) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
39. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 356)
throw new IllegalArgumentException("Illegal action!");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$

/osgi/org/osgi/service/application/ApplicationDescriptor.java : 62 warnings :

OTHER WARNINGS
1. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 45)
public static final String APPLICATION_NAME = "application.name";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
2. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 50)
public static final String APPLICATION_ICON = "application.icon";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
3. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 60)
public static final String APPLICATION_VERSION = "application.version";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
4. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 70)
public static final String APPLICATION_VISIBLE = "application.visible";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
5. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 75)
public static final String APPLICATION_LAUNCHABLE = "application.launchable";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
6. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 80)
public static final String APPLICATION_LOCKED = "application.locked";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
7. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 85)
public static final String APPLICATION_DESCRIPTION = "application.description";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
8. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 90)
public static final String APPLICATION_DOCUMENTATION = "application.documentation";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
9. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 95)
public static final String APPLICATION_COPYRIGHT = "application.copyright";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
10. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 100)
public static final String APPLICATION_LICENSE = "application.license";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
11. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 105)
public static final String APPLICATION_CONTAINER = "application.container";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
12. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 110)
public static final String APPLICATION_LOCATION = "application.location";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
13. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 128)
throw new NullPointerException("Application ID must not be null!");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
14. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 196)
public final Map getProperties(String locale) {
Map is a raw type. References to generic type Map<K,V> should be parameterized
15. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 197)
Map props = getPropertiesSpecific(locale);
Map is a raw type. References to generic type Map<K,V> should be parameterized
16. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 209)
props.put(APPLICATION_LOCKED, Boolean.valueOf(locked[0]));
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
17. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 243)
protected abstract Map getPropertiesSpecific(String locale);
Map is a raw type. References to generic type Map<K,V> should be parameterized
18. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 300)
public final ApplicationHandle launch(Map arguments) throws ApplicationException {
Map is a raw type. References to generic type Map<K,V> should be parameterized
19. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 301)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
20. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 301)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
21. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 303)
sm.checkPermission(new ApplicationAdminPermission(this, ApplicationAdminPermission.LIFECYCLE_ACTION));
The method checkPermission(Permission) from the type SecurityManager is deprecated
22. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 307)
throw new ApplicationException(ApplicationException.APPLICATION_LOCKED, "Application is locked, can't launch!");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
23. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 311)
throw new ApplicationException(ApplicationException.APPLICATION_NOT_LAUNCHABLE, "Cannot launch the application!");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
24. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 346)
protected abstract ApplicationHandle launchSpecific(Map arguments) throws Exception;
Map is a raw type. References to generic type Map<K,V> should be parameterized
25. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 420)
public final ScheduledApplication schedule(String scheduleId, Map arguments, String topic, String eventFilter, boolean recurring) throws InvalidSyntaxException, ApplicationException {
Map is a raw type. References to generic type Map<K,V> should be parameterized
26. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 421)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
27. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 421)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
28. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 423)
sm.checkPermission(new ApplicationAdminPermission(this, ApplicationAdminPermission.SCHEDULE_ACTION));
The method checkPermission(Permission) from the type SecurityManager is deprecated
29. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 427)
return AppPersistence.addScheduledApp(this, scheduleId, arguments, topic, eventFilter, recurring);
Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object>
30. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 442)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
31. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 442)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
32. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 444)
sm.checkPermission(new ApplicationAdminPermission(this, ApplicationAdminPermission.LOCK_ACTION));
The method checkPermission(Permission) from the type SecurityManager is deprecated
33. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 475)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
34. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 475)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
35. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 477)
sm.checkPermission(new ApplicationAdminPermission(this, ApplicationAdminPermission.LOCK_ACTION));
The method checkPermission(Permission) from the type SecurityManager is deprecated
36. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 499)
private void saveLock(boolean locked) {
The parameter locked is hiding a field from type ApplicationDescriptor
37. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 507)
private static final Collection scalars = Arrays.asList(String.class, Integer.class, Long.class, Float.class, Double.class, Byte.class, Short.class, Character.class, Boolean.class);
Collection is a raw type. References to generic type Collection<E> should be parameterized
38. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 508)
private static final Collection scalarsArrays = Arrays.asList(String[].class, Integer[].class, Long[].class, Float[].class, Double[].class, Byte[].class, Short[].class, Character[].class, Boolean[].class);
Collection is a raw type. References to generic type Collection<E> should be parameterized
39. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 509)
private static final Collection primitiveArrays = Arrays.asList(long[].class, int[].class, short[].class, char[].class, byte[].class, double[].class, float[].class, boolean[].class);
Collection is a raw type. References to generic type Collection<E> should be parameterized
40. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 511)
private static Map checkArgs(Map arguments, boolean validateValues) throws ApplicationException {
Map is a raw type. References to generic type Map<K,V> should be parameterized
41. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 511)
private static Map checkArgs(Map arguments, boolean validateValues) throws ApplicationException {
Map is a raw type. References to generic type Map<K,V> should be parameterized
42. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 515)
Map copy = validateValues ? new HashMap() : null;
Map is a raw type. References to generic type Map<K,V> should be parameterized
43. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 515)
Map copy = validateValues ? new HashMap() : null;
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
44. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 516)
for (Iterator entries = arguments.entrySet().iterator(); entries.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
45. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 517)
Map.Entry entry = (Entry) entries.next();
Map.Entry is a raw type. References to generic type Map.Entry<K,V> should be parameterized
46. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 517)
Map.Entry entry = (Entry) entries.next();
Map.Entry is a raw type. References to generic type Map.Entry<K,V> should be parameterized
47. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 519)
throw new IllegalArgumentException("Invalid key type: " + entry.getKey() == null ? "<null>" : entry.getKey().getClass().getName());
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
48. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 519)
throw new IllegalArgumentException("Invalid key type: " + entry.getKey() == null ? "<null>" : entry.getKey().getClass().getName());
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
49. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 522)
throw new IllegalArgumentException("Empty string is an invalid key");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
50. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 531)
private static void validateValue(Map.Entry entry, Map copy) throws ApplicationException {
Map.Entry is a raw type. References to generic type Map.Entry<K,V> should be parameterized
51. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 531)
private static void validateValue(Map.Entry entry, Map copy) throws ApplicationException {
Map is a raw type. References to generic type Map<K,V> should be parameterized
52. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 532)
Class clazz = entry.getValue().getClass();
Class is a raw type. References to generic type Class<T> should be parameterized
53. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 536)
copy.put(entry.getKey(), entry.getValue());
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
54. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 545)
copy.put(entry.getKey(), copyOfArray);
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
55. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 551)
Collection valueCollection = (Collection) entry.getValue();
Collection is a raw type. References to generic type Collection<E> should be parameterized
56. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 551)
Collection valueCollection = (Collection) entry.getValue();
Collection is a raw type. References to generic type Collection<E> should be parameterized
57. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 552)
for (Iterator it = valueCollection.iterator(); it.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
58. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 553)
Class containedClazz = it.next().getClass();
Class is a raw type. References to generic type Class<T> should be parameterized
59. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 558)
copy.put(entry.getKey(), new ArrayList((Collection) entry.getValue()));
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
60. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 558)
copy.put(entry.getKey(), new ArrayList((Collection) entry.getValue()));
Type safety: The constructor ArrayList(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
61. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 558)
copy.put(entry.getKey(), new ArrayList((Collection) entry.getValue()));
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
62. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 558)
copy.put(entry.getKey(), new ArrayList((Collection) entry.getValue()));
Collection is a raw type. References to generic type Collection<E> should be parameterized

/osgi/org/osgi/service/application/ApplicationHandle.java : 9 warnings :

OTHER WARNINGS
1. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 46)
public final static String APPLICATION_DESCRIPTOR = "application.descriptor";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
2. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 51)
public final static String APPLICATION_STATE = "application.state";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
3. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 59)
public final static String APPLICATION_SUPPORTS_EXITVALUE = "application.supports.exitvalue";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
4. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 65)
public final static String RUNNING = "RUNNING";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
5. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 72)
public final static String STOPPING = "STOPPING";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
6. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 104)
throw new NullPointerException("Parameters must not be null!");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
7. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 213)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
8. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 213)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
9. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 215)
sm.checkPermission(new ApplicationAdminPermission(getApplicationDescriptor(), ApplicationAdminPermission.LIFECYCLE_ACTION));
The method checkPermission(Permission) from the type SecurityManager is deprecated

/osgi/org/osgi/service/application/ScheduledApplication.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 48)
public static final String SCHEDULE_ID = "schedule.id";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
2. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 57)
public static final String TRIGGERING_EVENT = "org.osgi.triggeringevent";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
3. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 63)
public static final String TIMER_TOPIC = "org/osgi/application/timer";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
4. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 69)
public static final String YEAR = "year";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
5. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 75)
public static final String MONTH = "month";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
6. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 81)
public static final String DAY_OF_MONTH = "day_of_month";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
7. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 87)
public static final String DAY_OF_WEEK = "day_of_week";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
8. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 93)
public static final String HOUR_OF_DAY = "hour_of_day";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
9. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 99)
public static final String MINUTE = "minute";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
10. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 163)
public Map getArguments();
Map is a raw type. References to generic type Map<K,V> should be parameterized

/src/org/eclipse/equinox/app/IApplicationContext.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/app/IApplicationContext.java
 (at line 88)
public Map getArguments();
Map is a raw type. References to generic type Map<K,V> should be parameterized

/src/org/eclipse/equinox/internal/app/Activator.java : 34 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 31)
public class Activator implements BundleActivator, ServiceTrackerCustomizer {
ServiceTrackerCustomizer is a raw type. References to generic type ServiceTrackerCustomizer<S,T> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 37)
private volatile static PackageAdmin _packageAdmin;
The type PackageAdmin is deprecated
3. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 40)
private volatile static ServiceTracker _frameworkLogTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 42)
private ServiceTracker registryTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 50)
ServiceReference<PackageAdmin> ref = bc.getServiceReference(PackageAdmin.class);
The type PackageAdmin is deprecated
6. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 50)
ServiceReference<PackageAdmin> ref = bc.getServiceReference(PackageAdmin.class);
The type PackageAdmin is deprecated
7. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 54)
_frameworkLogTracker = new ServiceTracker(bc, FrameworkLog.class, null);
Type safety: The constructor ServiceTracker(BundleContext, Class, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
8. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 54)
_frameworkLogTracker = new ServiceTracker(bc, FrameworkLog.class, null);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
9. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 61)
registryTracker = new ServiceTracker(bc, IExtensionRegistry.class, this);
Type safety: The constructor ServiceTracker(BundleContext, Class, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
10. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 61)
registryTracker = new ServiceTracker(bc, IExtensionRegistry.class, this);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
11. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 140)
service = context.getService(reference);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
12. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 188)
static void openTracker(final ServiceTracker tracker, final boolean allServices) {
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
13. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 189)
if (System.getSecurityManager() == null) {
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
14. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 192)
AccessController.doPrivileged((PrivilegedAction) () -> {
The type AccessController has been deprecated since version 17 and marked for removal
15. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 192)
AccessController.doPrivileged((PrivilegedAction) () -> { tracker.open(allServices); return null; });
Type safety: Unchecked invocation doPrivileged(PrivilegedAction) of the generic method doPrivileged(PrivilegedAction<T>) of type AccessController
16. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 192)
AccessController.doPrivileged((PrivilegedAction) () -> {
The method doPrivileged(PrivilegedAction<Object>) from the type AccessController is deprecated
17. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 192)
AccessController.doPrivileged((PrivilegedAction) () -> { tracker.open(allServices); return null; });
Type safety: The expression of type PrivilegedAction needs unchecked conversion to conform to PrivilegedAction<Object>
18. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 192)
AccessController.doPrivileged((PrivilegedAction) () -> {
PrivilegedAction is a raw type. References to generic type PrivilegedAction<T> should be parameterized
19. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 200)
static Object getService(final ServiceTracker tracker) {
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
20. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 201)
if (System.getSecurityManager() == null) {
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
21. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 204)
return AccessController.doPrivileged((PrivilegedAction) () -> tracker.getService());
The type AccessController has been deprecated since version 17 and marked for removal
22. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 204)
return AccessController.doPrivileged((PrivilegedAction) () -> tracker.getService());
Type safety: Unchecked invocation doPrivileged(PrivilegedAction) of the generic method doPrivileged(PrivilegedAction<T>) of type AccessController
23. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 204)
return AccessController.doPrivileged((PrivilegedAction) () -> tracker.getService());
The method doPrivileged(PrivilegedAction<Object>) from the type AccessController is deprecated
24. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 204)
return AccessController.doPrivileged((PrivilegedAction) () -> tracker.getService());
Type safety: The expression of type PrivilegedAction needs unchecked conversion to conform to PrivilegedAction<Object>
25. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 204)
return AccessController.doPrivileged((PrivilegedAction) () -> tracker.getService());
PrivilegedAction is a raw type. References to generic type PrivilegedAction<T> should be parameterized
26. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 209)
if (System.getSecurityManager() == null) {
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
27. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 212)
return (String) AccessController.doPrivileged((PrivilegedAction) () -> bundle.getLocation());
The type AccessController has been deprecated since version 17 and marked for removal
28. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 212)
return (String) AccessController.doPrivileged((PrivilegedAction) () -> bundle.getLocation());
Type safety: Unchecked invocation doPrivileged(PrivilegedAction) of the generic method doPrivileged(PrivilegedAction<T>) of type AccessController
29. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 212)
return (String) AccessController.doPrivileged((PrivilegedAction) () -> bundle.getLocation());
The method doPrivileged(PrivilegedAction<Object>) from the type AccessController is deprecated
30. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 212)
return (String) AccessController.doPrivileged((PrivilegedAction) () -> bundle.getLocation());
Type safety: The expression of type PrivilegedAction needs unchecked conversion to conform to PrivilegedAction<Object>
31. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 212)
return (String) AccessController.doPrivileged((PrivilegedAction) () -> bundle.getLocation());
PrivilegedAction is a raw type. References to generic type PrivilegedAction<T> should be parameterized
32. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 228)
PackageAdmin packageAdmin = _packageAdmin;
The type PackageAdmin is deprecated
33. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 232)
Bundle[] bundles = packageAdmin.getBundles(contributor.getName(), null);
The method getBundles(String, String) from the type PackageAdmin is deprecated
34. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 254)
ServiceTracker frameworkLogTracker = _frameworkLogTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized

/src/org/eclipse/equinox/internal/app/AppCommands.java : 31 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 39)
private ServiceTracker applicationDescriptors;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 40)
private ServiceTracker applicationHandles;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 41)
private ServiceTracker scheduledApplications;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 45)
private ServiceRegistration providerRegistration;
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 192)
private Dictionary<String, Object> getServiceProps(ServiceReference ref) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 202)
ServiceReference[] apps = applicationDescriptors.getServiceReferences();
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
7. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 207)
for (ServiceReference app : apps) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
8. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 233)
ServiceReference[] active = applicationHandles.getServiceReferences();
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
9. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 238)
for (ServiceReference r : active) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
10. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 246)
private ServiceReference getApplication(ServiceReference[] apps, String targetId, String idKey,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
11. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 246)
private ServiceReference getApplication(ServiceReference[] apps, String targetId, String idKey,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
12. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 252)
ServiceReference result = null;
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
13. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 254)
for (ServiceReference app : apps) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
14. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 274)
ServiceReference application = getApplication(applicationDescriptors.getServiceReferences(), appId,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
15. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 290)
ApplicationDescriptor appDesc = (context.<ApplicationDescriptor>getService(application));
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
16. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 290)
ApplicationDescriptor appDesc = (context.<ApplicationDescriptor>getService(application));
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<ApplicationDescriptor>
17. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 303)
ServiceReference application = getApplication(applicationHandles.getServiceReferences(), appId,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
18. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 314)
ApplicationHandle appHandle = (ApplicationHandle) context.getService(application);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
19. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 314)
ApplicationHandle appHandle = (ApplicationHandle) context.getService(application);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
20. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 330)
ServiceReference application = getApplication(applicationDescriptors.getServiceReferences(), appId,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
21. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 336)
ApplicationDescriptor appDesc = (ApplicationDescriptor) context.getService(application);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
22. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 336)
ApplicationDescriptor appDesc = (ApplicationDescriptor) context.getService(application);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
23. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 348)
ServiceReference application = getApplication(applicationDescriptors.getServiceReferences(), appId,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
24. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 354)
ApplicationDescriptor appDesc = (ApplicationDescriptor) context.getService(application);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
25. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 354)
ApplicationDescriptor appDesc = (ApplicationDescriptor) context.getService(application);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
26. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 366)
ServiceReference application = getApplication(applicationDescriptors.getServiceReferences(), appId,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
27. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 372)
ApplicationDescriptor appDesc = (ApplicationDescriptor) context.getService(application);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
28. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 372)
ApplicationDescriptor appDesc = (ApplicationDescriptor) context.getService(application);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
29. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 386)
ServiceReference application = getApplication(scheduledApplications.getServiceReferences(), appId,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
30. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 392)
ScheduledApplication schedApp = (ScheduledApplication) context.getService(application);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
31. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 392)
ScheduledApplication schedApp = (ScheduledApplication) context.getService(application);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>

/src/org/eclipse/equinox/internal/app/AppPersistence.java : 6 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/AppPersistence.java
 (at line 34)
public class AppPersistence implements ServiceTrackerCustomizer {
ServiceTrackerCustomizer is a raw type. References to generic type ServiceTrackerCustomizer<S,T> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/AppPersistence.java
 (at line 47)
private static ServiceTracker configTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/AppPersistence.java
 (at line 83)
configTracker = new ServiceTracker(context, filter, new AppPersistence());
Type safety: The constructor ServiceTracker(BundleContext, Filter, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/AppPersistence.java
 (at line 83)
configTracker = new ServiceTracker(context, filter, new AppPersistence());
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/AppPersistence.java
 (at line 187)
ServiceRegistration sr = context.registerService(
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/AppPersistence.java
 (at line 433)
configLocation = (Location) context.getService(reference);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext

/src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java : 7 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 33)
public class DefaultApplicationListener implements ApplicationRunnable, ServiceTrackerCustomizer {
ServiceTrackerCustomizer is a raw type. References to generic type ServiceTrackerCustomizer<S,T> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 36)
private final ServiceTracker handleTracker; // tracks the default application handle
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 40)
ServiceReference defaultRef = defaultApp.getServiceReference();
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 48)
ServiceTracker defaultAppTracker = new ServiceTracker(Activator.getContext(), defaultRef, this);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 48)
ServiceTracker defaultAppTracker = new ServiceTracker(Activator.getContext(), defaultRef, this);
Type safety: The constructor ServiceTracker(BundleContext, ServiceReference, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 48)
ServiceTracker defaultAppTracker = new ServiceTracker(Activator.getContext(), defaultRef, this);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
7. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 140)
return Activator.getContext().getService(reference);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext

/src/org/eclipse/equinox/internal/app/EclipseAppContainer.java : 17 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 39)
implements IRegistryEventListener, SynchronousBundleListener, ServiceTrackerCustomizer {
ServiceTrackerCustomizer is a raw type. References to generic type ServiceTrackerCustomizer<S,T> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 71)
final private ServiceTracker launcherTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 96)
launcherTracker = new ServiceTracker<>(context, ApplicationLauncher.class, this);
Type safety: The constructor ServiceTracker(BundleContext, Class<Object>, ServiceTrackerCustomizer<Object,Object>) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 96)
launcherTracker = new ServiceTracker<>(context, ApplicationLauncher.class, this);
Type safety: The expression of type EclipseAppContainer needs unchecked conversion to conform to ServiceTrackerCustomizer<Object,Object>
5. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 201)
ServiceRegistration sr = (ServiceRegistration) AccessController
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 201)
ServiceRegistration sr = (ServiceRegistration) AccessController
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
7. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 201)
ServiceRegistration sr = (ServiceRegistration) AccessController
The type AccessController has been deprecated since version 17 and marked for removal
8. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 201)
ServiceRegistration sr = (ServiceRegistration) AccessController .doPrivileged(new RegisterService(new String[] { ApplicationDescriptor.class.getName() }, appDescriptor, appDescriptor.getServiceProperties()));
Type safety: Unchecked invocation doPrivileged(EclipseAppContainer.RegisterService) of the generic method doPrivileged(PrivilegedAction<T>) of type AccessController
9. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 202)
.doPrivileged(new RegisterService(new String[] { ApplicationDescriptor.class.getName() },
The method doPrivileged(PrivilegedAction<Object>) from the type AccessController is deprecated
10. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 202)
.doPrivileged(new RegisterService(new String[] { ApplicationDescriptor.class.getName() }, appDescriptor, appDescriptor.getServiceProperties()));
Type safety: The expression of type EclipseAppContainer.RegisterService needs unchecked conversion to conform to PrivilegedAction<Object>
11. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 228)
PrivilegedAction getRegServiceAction(String[] serviceClasses, Object serviceObject,
PrivilegedAction is a raw type. References to generic type PrivilegedAction<T> should be parameterized
12. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 237)
private class RegisterService implements PrivilegedAction {
PrivilegedAction is a raw type. References to generic type PrivilegedAction<T> should be parameterized
13. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 417)
ServiceReference[] runningRefs = context.getServiceReferences(ApplicationHandle.class.getName(),
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
14. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 420)
for (ServiceReference runningRef : runningRefs) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
15. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 421)
ApplicationHandle handle = (ApplicationHandle) context.getService(runningRef);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
16. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 421)
ApplicationHandle handle = (ApplicationHandle) context.getService(runningRef);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
17. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 681)
appLauncher = (ApplicationLauncher) context.getService(reference);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext

/src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java : 11 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 44)
private ServiceRegistration sr;
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 133)
ServiceRegistration reg = getServiceRegistration();
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 136)
reg.setProperties(getServiceProperties());
Type safety: The method setProperties(Dictionary) belongs to the raw type ServiceRegistration. References to generic type ServiceRegistration<S> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 144)
void setServiceRegistration(ServiceRegistration sr) {
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 153)
private ServiceRegistration getServiceRegistration() {
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 209)
ServiceRegistration appHandleReg = (ServiceRegistration) AccessController
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
7. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 209)
ServiceRegistration appHandleReg = (ServiceRegistration) AccessController
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
8. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 209)
ServiceRegistration appHandleReg = (ServiceRegistration) AccessController
The type AccessController has been deprecated since version 17 and marked for removal
9. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 209)
ServiceRegistration appHandleReg = (ServiceRegistration) AccessController .doPrivileged(appContainer.getRegServiceAction( new String[] { ApplicationHandle.class.getName(), IApplicationContext.class.getName() }, newAppHandle, newAppHandle.getServiceProperties()));
Type safety: Unchecked invocation doPrivileged(PrivilegedAction) of the generic method doPrivileged(PrivilegedAction<T>) of type AccessController
10. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 210)
.doPrivileged(appContainer.getRegServiceAction(
The method doPrivileged(PrivilegedAction<Object>) from the type AccessController is deprecated
11. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 238)
ServiceRegistration temp = getServiceRegistration();
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized

/src/org/eclipse/equinox/internal/app/EclipseAppHandle.java : 13 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 46)
private volatile ServiceRegistration handleRegistration;
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 105)
void setServiceRegistration(ServiceRegistration sr) {
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 113)
private ServiceRegistration getServiceRegistration() {
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 126)
ServiceReference getServiceReference() {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 127)
ServiceRegistration reg = getServiceRegistration();
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 174)
ServiceRegistration handleReg = getServiceRegistration();
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
7. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 178)
handleReg.setProperties(getServiceProperties());
Type safety: The method setProperties(Dictionary) belongs to the raw type ServiceRegistration. References to generic type ServiceRegistration<S> should be parameterized
8. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 291)
final ServiceReference[] monitors = getStartupMonitors();
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
9. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 304)
for (ServiceReference m : monitors) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
10. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 305)
StartupMonitor monitor = (StartupMonitor) Activator.getContext().getService(m);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
11. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 305)
StartupMonitor monitor = (StartupMonitor) Activator.getContext().getService(m);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
12. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 315)
private ServiceReference[] getStartupMonitors() {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
13. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 318)
ServiceReference[] refs = null;
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized

/src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java : 8 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 40)
private ServiceRegistration sr;
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 41)
private final ServiceTracker appTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 52)
appTracker = new ServiceTracker(context, context.createFilter(FILTER_PREFIX + appPid + FILTER_POSTFIX), null);
Type safety: The constructor ServiceTracker(BundleContext, Filter, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 52)
appTracker = new ServiceTracker(context, context.createFilter(FILTER_PREFIX + appPid + FILTER_POSTFIX), null);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 148)
synchronized void setServiceRegistration(ServiceRegistration sr) {
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 171)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
7. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 171)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
8. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 173)
sm.checkPermission(new TopicPermission(eventTopic, TopicPermission.SUBSCRIBE));
The method checkPermission(Permission) from the type SecurityManager is deprecated

INFO WARNINGS

errors others warnings forbidden warnings discouraged warnings

FORBIDDEN ACCESS WARNINGS

top errors infos others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors infos others warnings forbidden warnings