Ticket #2129: ant-core.compile-1.out

File ant-core.compile-1.out, 8.3 KB (added by Nicklas Nordborg, 3 years ago)

First try to compile with Java 11

Line 
1Buildfile: F:\Work\Eclipse\trunk\build.xml
2
3svn.revision:
4     [echo] Build #7512
5
6init:
7
8dev.init:
9    [mkdir] Created dir: F:\Work\Eclipse\trunk\bin\jar
10    [mkdir] Created dir: F:\Work\Eclipse\trunk\www\WEB-INF\lib
11    [mkdir] Created dir: F:\Work\Eclipse\trunk\www\WEB-INF\classes
12
13old-jars:
14
15core.init:
16
17core.compile:
18    [mkdir] Created dir: F:\Work\Eclipse\trunk\build\core
19    [javac] Compiling 1212 source files to F:\Work\Eclipse\trunk\build\core
20    [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
21    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\SessionControl.java:2632: warning: [deprecation] newInstance() in Class has been deprecated
22    [javac]           I s = dataClass.newInstance();
23    [javac]                          ^
24    [javac]   where T is a type-variable:
25    [javac]     T extends Object declared in class Class
26    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\SessionControl.java:2680: warning: [deprecation] finalize() in Object has been deprecated
27    [javac]   protected void finalize()
28    [javac]                  ^
29    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\SessionControl.java:2691: warning: [deprecation] finalize() in Object has been deprecated
30    [javac]     super.finalize();
31    [javac]          ^
32    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\DbControl.java:798: warning: [deprecation] newInstance() in Class has been deprecated
33    [javac]       BasicData data = dataClass.newInstance();
34    [javac]                                 ^
35    [javac]   where T is a type-variable:
36    [javac]     T extends Object declared in class Class
37    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\DbControl.java:1297: warning: [deprecation] finalize() in Object has been deprecated
38    [javac]   protected void finalize()
39    [javac]                  ^
40    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\DbControl.java:1311: warning: [deprecation] finalize() in Object has been deprecated
41    [javac]     super.finalize();
42    [javac]          ^
43    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\Job.java:942: warning: [deprecation] newInstance() in Class has been deprecated
44    [javac]           SignalTransporter transporter = (SignalTransporter)Class.forName(transporterClass).newInstance();
45    [javac]                                                                                             ^
46    [javac]   where T is a type-variable:
47    [javac]     T extends Object declared in class Class
48    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\Job.java:1790: warning: [deprecation] newInstance() in Class has been deprecated
49    [javac]         ParameterValueData<?> toParameter = dataClass.newInstance();
50    [javac]                                                      ^
51    [javac]   where T is a type-variable:
52    [javac]     T extends Object declared in class Class
53    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\PluginDefinition.java:1279: warning: [deprecation] newInstance() in Class has been deprecated
54    [javac]       return (Plugin)c.newInstance();
55    [javac]                       ^
56    [javac]   where T is a type-variable:
57    [javac]     T extends Object declared in class Class
58    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\PluginConfiguration.java:620: warning: [deprecation] newInstance() in Class has been deprecated
59    [javac]           ParameterValueData<?> toParameter = dataClass.newInstance();
60    [javac]                                                        ^
61    [javac]   where T is a type-variable:
62    [javac]     T extends Object declared in class Class
63    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\Application.java:824: warning: [deprecation] newInstance() in Class has been deprecated
64    [javac]       ssc = (SecondaryStorageController)Class.forName(secondaryStorageDriver).newInstance();
65    [javac]                                                                              ^
66    [javac]   where T is a type-variable:
67    [javac]     T extends Object declared in class Class
68    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\util\StaticCache.java:679: warning: [deprecation] finalize() in Object has been deprecated
69    [javac]     protected void finalize()
70    [javac]                    ^
71    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\util\StaticCache.java:687: warning: [deprecation] finalize() in Object has been deprecated
72    [javac]       super.finalize();
73    [javac]            ^
74    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\util\StaticCache.java:739: warning: [deprecation] finalize() in Object has been deprecated
75    [javac]     protected void finalize()
76    [javac]                    ^
77    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\util\StaticCache.java:747: warning: [deprecation] finalize() in Object has been deprecated
78    [javac]       super.finalize();
79    [javac]            ^
80    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\InternalJobQueue.java:279: warning: [deprecation] newInstance() in Class has been deprecated
81    [javac]           signalReceiver = (SignalReceiver)Class.forName(signalReceiverClass).newInstance();
82    [javac]                                                                              ^
83    [javac]   where T is a type-variable:
84    [javac]     T extends Object declared in class Class
85    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\util\JarClassLoader.java:269: warning: [deprecation] getPackage(String) in ClassLoader has been deprecated
86    [javac]       Package pkg = getPackage(packageName);
87    [javac]                     ^
88    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\util\formatter\DateFormatter.java:91: warning: [deprecation] Long(String) in Long has been deprecated
89    [javac]         return new Date(new Long(value));
90    [javac]                         ^
91    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\DateUtil.java:131: warning: [deprecation] Long(String) in Long has been deprecated
92    [javac]           result = new Date(new Long(value));
93    [javac]                             ^
94    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\DateUtil.java:179: warning: [deprecation] Long(String) in Long has been deprecated
95    [javac]           result = new Date(new Long(value));
96    [javac]                             ^
97    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\core\signal\ThreadSignalHandler.java:203: error: method stop in class Thread cannot be applied to given types;
98    [javac]         workerThread.stop(new InterruptedException("Received signal: ABORT"));
99    [javac]                     ^
100    [javac]   required: no arguments
101    [javac]   found: InterruptedException
102    [javac]   reason: actual and formal argument lists differ in length
103    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\util\extensions\debug\BeanActionFactory.java:213: warning: [deprecation] newInstance() in Class has been deprecated
104    [javac]       Action bean = actionClass.cast(beanClass.newInstance());
105    [javac]                                               ^
106    [javac]   where T is a type-variable:
107    [javac]     T extends Object declared in class Class
108    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\util\extensions\xml\XmlLoader.java:909: warning: [deprecation] newInstance() in Class has been deprecated
109    [javac]     F factory = factoryType.cast(factoryClass.newInstance());
110    [javac]                                              ^
111    [javac]   where T is a type-variable:
112    [javac]     T extends Object declared in class Class
113    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\util\overview\loader\BasicItemNodeLoaderFactory.java:105: warning: [deprecation] newInstance() in Class has been deprecated
114    [javac]         loader = loaderClass.newInstance();
115    [javac]                             ^
116    [javac]   where T is a type-variable:
117    [javac]     T extends Object declared in class Class
118    [javac] F:\Work\Eclipse\trunk\src\core\net\sf\basedb\util\overview\validator\BasicItemNodeValidatorFactory.java:114: warning: [deprecation] newInstance() in Class has been deprecated
119    [javac]         validator = (NodeValidator<BasicItem>)validatorClass.newInstance();
120    [javac]                                                             ^
121    [javac]   where T is a type-variable:
122    [javac]     T extends Object declared in class Class
123    [javac] 1 error
124    [javac] 25 warnings