Re: [fpc-devel] JVM: Question regarding converted Java code

2011-12-30 Thread Sven Barth
On 30.12.2011 15:25, Jonas Maebe wrote: On 29 Dec 2011, at 14:18, Sven Barth wrote: On 29.12.2011 13:49, Jonas Maebe wrote: On 28 Dec 2011, at 23:28, Sven Barth wrote: 1) as it seems to be a rather usual practice in Java, would it be possible to disable the "Constructor should be public"

Re: [fpc-devel] JVM: Question regarding converted Java code

2011-12-30 Thread Jonas Maebe
On 29 Dec 2011, at 14:18, Sven Barth wrote: > On 29.12.2011 13:49, Jonas Maebe wrote: >> >> On 28 Dec 2011, at 23:28, Sven Barth wrote: >> >>> 1) as it seems to be a rather usual practice in Java, would it be possible >>> to disable the "Constructor should be public" warnings if the target cpu

Re: [fpc-devel] JVM: Question regarding converted Java code

2011-12-29 Thread Flávio Etrusco
On Thu, Dec 29, 2011 at 10:49 AM, Jonas Maebe wrote: > On 28 Dec 2011, at 23:28, Sven Barth wrote: > >> 1) as it seems to be a rather usual practice in Java, would it be possible >> to disable the "Constructor should be public" warnings if the target cpu is >> the JVM? > > Yes. BTW, is there an

Re: [fpc-devel] JVM: Question regarding converted Java code

2011-12-29 Thread Sven Barth
On 29.12.2011 13:49, Jonas Maebe wrote: On 28 Dec 2011, at 23:28, Sven Barth wrote: 1) as it seems to be a rather usual practice in Java, would it be possible to disable the "Constructor should be public" warnings if the target cpu is the JVM? Yes. This would be nice :) 2) in the code

Re: [fpc-devel] JVM: Question regarding converted Java code

2011-12-29 Thread Jonas Maebe
On 28 Dec 2011, at 23:28, Sven Barth wrote: > 1) as it seems to be a rather usual practice in Java, would it be possible to > disable the "Constructor should be public" warnings if the target cpu is the > JVM? Yes. > 2) in the code I converted the classes often seem to "reintroduce" methods

[fpc-devel] JVM: Question regarding converted Java code

2011-12-28 Thread Sven Barth
Hello Jonas! Today I've converted a third party jar file using javapp, which went without problems so far (I only need to convert another jar file, because there is a dependency). When compiling I noticed a few warnings though: === output === ... bukkit.inc(1668,5) Warning: Constructor shoul