Re: [fpc-pascal] Re: Some questions regarding jvmbackend port

2012-01-08 Thread Jonas Maebe
On 09 Jan 2012, at 00:12, leledumbo wrote: > Since the title is still valid, I'd like ask about the usage of java > collections in generic style. For instance java.util.ArrayList. How can I > construct JUArrayList with Integer constraint as in Java? > > e.g.: ArrayList a = new ArrayList; Java-s

[fpc-pascal] Re: Some questions regarding jvmbackend port

2012-01-08 Thread leledumbo
Since the title is still valid, I'd like ask about the usage of java collections in generic style. For instance java.util.ArrayList. How can I construct JUArrayList with Integer constraint as in Java? e.g.: ArrayList a = new ArrayList; -- View this message in context: http://free-pascal-general

[fpc-pascal] Re: Some questions regarding jvmbackend port

2012-01-08 Thread leledumbo
> Pass "-XP " (without the quotes, but with the space after the parameter) to the compiler, then it will not prepend "jvm-java-" to the java binary. You might also want to check your fpc.cfg as there it might add the cpu-os-prefix unconditionally if it detects a crosscompilation (check for #IFD

[fpc-pascal] Re: Some questions regarding jvmbackend port

2012-01-08 Thread leledumbo
Additional info: assembling the resulting .j manually and execute the resulting .class works though -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Some-questions-regarding-jvmbackend-port-tp5129886p5129888.html Sent from the Free Pascal - General mailing list ar