Compiler log for org.eclipse.osgi.tests_3.22.200.v20250514-1759 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 14, 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

/src/org/eclipse/equinox/log/test/LogEquinoxTraceTest.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/log/test/LogEquinoxTraceTest.java
 (at line 225)
ServiceReference<StartLevel> ref = equinox.getBundleContext().getServiceReference(StartLevel.class);
The value of the local variable ref is not used

/src/org/eclipse/osgi/tests/bundles/BundleInstallUpdateTests.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/osgi/tests/bundles/BundleInstallUpdateTests.java
 (at line 219)
String testBundleJarFileURL = (encode ? testBundleJarFile.toURI() : testBundleJarFile.toURL()).toString();
The method toURL() from the type File is deprecated
2. WARNING in /src/org/eclipse/osgi/tests/bundles/BundleInstallUpdateTests.java
 (at line 221)
String testBundleDirFileURL = (encode ? testBundleDirFile.toURI() : testBundleDirFile.toURL()).toString();
The method toURL() from the type File is deprecated

/src/org/eclipse/osgi/tests/security/BaseSecurityTest.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/osgi/tests/security/BaseSecurityTest.java
 (at line 178)
suite.getSetup().setSystemProperty("osgi.framework.keystore", tempFile.toURL().toExternalForm()); //$NON-NLS-1$ //$NON-NLS-2$
The method toURL() from the type File is deprecated

/src/org/eclipse/osgi/tests/services/datalocation/BasicLocationTests.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/osgi/tests/services/datalocation/BasicLocationTests.java
 (at line 124)
testLocation.set(testLocationFile.toURL(), false);
The method toURL() from the type File is deprecated
2. WARNING in /src/org/eclipse/osgi/tests/services/datalocation/BasicLocationTests.java
 (at line 142)
testLocation.set(testLocationFile.toURL(), false);
The method toURL() from the type File is deprecated
3. WARNING in /src/org/eclipse/osgi/tests/services/datalocation/BasicLocationTests.java
 (at line 158)
testLocation.set(testLocationFile.toURL(), true);
The method toURL() from the type File is deprecated
4. WARNING in /src/org/eclipse/osgi/tests/services/datalocation/BasicLocationTests.java
 (at line 177)
assertFalse("Could not set location", testLocation.set(testLocationFile.toURL(), true));
The method toURL() from the type File is deprecated
5. WARNING in /src/org/eclipse/osgi/tests/services/datalocation/BasicLocationTests.java
 (at line 192)
assertTrue("Could not set location", testLocation.set(testLocationFile.toURL(), false));
The method toURL() from the type File is deprecated
6. WARNING in /src/org/eclipse/osgi/tests/services/datalocation/BasicLocationTests.java
 (at line 236)
createdLocation.set(testLocationFile.toURL(), false);
The method toURL() from the type File is deprecated
7. WARNING in /src/org/eclipse/osgi/tests/services/datalocation/BasicLocationTests.java
 (at line 277)
testLocation.set(testLocationFile.toURL(), true, ""); //$NON-NLS-1$
The method toURL() from the type File is deprecated
8. WARNING in /src/org/eclipse/osgi/tests/services/datalocation/BasicLocationTests.java
 (at line 299)
testLocation.set(testLocationFile.toURL(), true, ".mocklock"); //$NON-NLS-1$
The method toURL() from the type File is deprecated
9. WARNING in /src/org/eclipse/osgi/tests/services/datalocation/BasicLocationTests.java
 (at line 322)
testLocation.set(testLocationFile.toURL(), true, testLocationLockFile.getAbsolutePath());
The method toURL() from the type File is deprecated
10. WARNING in /src/org/eclipse/osgi/tests/services/datalocation/BasicLocationTests.java
 (at line 464)
location.set(testLocationFile.toURL(), false);
The method toURL() from the type File 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