Fix compilation error when compiling against BASE 3.6
When compiling Reggie against the BASE 3.6 JAR files we get 2 errors and 7 warnings (see below). The errors are due to changes in http://base.thep.lu.se/changeset/6874 and should be easy to fix.
[javac] Compiling 141 source files to D:\Eclipse\Workspace\reggie-test\build
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] D:\Eclipse\Workspace\reggie-test\src\net\sf\basedb\reggie\autoconfirm\AutoConfirmer.java:19: error: type CommonItem does not take parameters
[javac] public abstract class AutoConfirmer<I extends CommonItem<?>>
[javac] ^
[javac] D:\Eclipse\Workspace\reggie-test\src\net\sf\basedb\reggie\servlet\InstallServlet.java:1063: error: type BasicItem does not take parameters
[javac] public <T extends BasicItem<?> & Nameable> T createReggieRole(SessionControl sc, ReggieRole<T> role)
[javac] ^
[javac] D:\Eclipse\Workspace\reggie-test\src\net\sf\basedb\reggie\autoconfirm\AutoConfirmService.java:157: warning: [unchecked] unchecked method invocation: method restart in class Services is applied to given types
[javac] if (ext != null) Services.restart(ext);
[javac] ^
[javac] required: Extension<ServiceControllerAction>
[javac] found: Extension
[javac] D:\Eclipse\Workspace\reggie-test\src\net\sf\basedb\reggie\autoconfirm\AutoConfirmService.java:157: warning: [unchecked] unchecked conversion
[javac] if (ext != null) Services.restart(ext);
[javac] ^
[javac] required: Extension<ServiceControllerAction>
[javac] found: Extension
[javac] D:\Eclipse\Workspace\reggie-test\src\net\sf\basedb\reggie\counter\CounterService.java:169: warning: [unchecked] unchecked method invocation: method restart in class Services is applied to given types
[javac] if (ext != null) Services.restart(ext);
[javac] ^
[javac] required: Extension<ServiceControllerAction>
[javac] found: Extension
[javac] D:\Eclipse\Workspace\reggie-test\src\net\sf\basedb\reggie\counter\CounterService.java:169: warning: [unchecked] unchecked conversion
[javac] if (ext != null) Services.restart(ext);
[javac] ^
[javac] required: Extension<ServiceControllerAction>
[javac] found: Extension
[javac] D:\Eclipse\Workspace\reggie-test\src\net\sf\basedb\reggie\grid\OpenGridService.java:135: warning: [unchecked] unchecked method invocation: method restart in class Services is applied to given types
[javac] Services.restart(ext);
[javac] ^
[javac] required: Extension<ServiceControllerAction>
[javac] found: Extension
[javac] D:\Eclipse\Workspace\reggie-test\src\net\sf\basedb\reggie\grid\OpenGridService.java:135: warning: [unchecked] unchecked conversion
[javac] Services.restart(ext);
[javac] ^
[javac] required: Extension<ServiceControllerAction>
[javac] found: Extension
[javac] 2 errors
[javac] 7 warnings
Change History
(4)
Milestone: |
Reggie v3.x → Reggie v3.8
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Milestone: |
Reggie v3.8 → Reggie v4.0
|
(In [3571]) Fixes #782: Fix compilation error when compiling against BASE 3.6
Fixed the compilation error and warning as well as some javadoc problems.