hzzc1987 / jnaerator

Automatically exported from code.google.com/p/jnaerator
0 stars 0 forks source link

JNAerator not working with OS X frameworks on 10.6 Snow Leopard #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. execute one of the examples: java -Xmx1000m -jar jnaerator-0.9.1.jar 
-framework 
Foundation -framework AppKit -jar appkit-foundation.jar
2.
3.

What is the expected output? What do you see instead?
The example should produce a working jar, instead the generation process fails 
with 33 errors 
(see complete log below).

What version of the product are you using? On what operating system?
JNAerator 0.9.1 on Mac OS X 10.6.1, Java 6.

Please provide any additional information below.
I attached the complete log as a txt file. Hope this helps!

Original issue reported on code.google.com by maximili...@googlemail.com on 29 Sep 2009 at 4:19

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Maximilian,

Thanks a lot for your report !
Didn't think about testing this since 10.6, I was completely focused on 
OpenCL... my bad :-(
I'll try and look at this tonight.

Cheers

Original comment by olivier.chafik@gmail.com on 1 Oct 2009 at 8:25

GoogleCodeExporter commented 8 years ago
Ok, so I fixed the first blocking bugs that prevented me from tackling the 
Apple-centric aspects of this 
regression.

I now get two kinds of issues :
- regression on duplicated methods
- apple inheritance issues (for instance, NSSavePanel.delegate() returns 
forward-declared 
NSOpenSavePanelDelegate protocol, but it overrides NSWindow.delegate() which 
returns the forward-declared 
NSWindowDelegate protocol. JNAerator will have to infer forward-declared 
protocol hierarchy from method 
overriding graph...)

Original comment by olivier.chafik@gmail.com on 10 Oct 2009 at 9:48

GoogleCodeExporter commented 8 years ago
Hi Maximilian,

Latest snapshot version of JNAerator should now handle Foundation and AppKit 
properly.
Haven't had time to test with more frameworks, though...
Please let me know if you have some more issues...

Cheers

Original comment by olivier.chafik@gmail.com on 11 Nov 2009 at 1:45