Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XOverlay.java doesn't build on mac due to swt Composite api #30

Closed
GoogleCodeExporter opened this issue Apr 23, 2015 · 3 comments
Closed

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Try to build the gstreamer-java source

What is the expected output? What do you see instead?

The source should compile on all platforms, and should not directly
reference fields that are not part of the cross-platform portions SWT API. 

What version of the product are you using? On what operating system?

Version 1.1. The issue also effects the current SVN.

Please provide any additional information below.

The issue can be fixed by using the Java reflection API. It is evident from
the code that the user intends that the code only execute on Linux
platforms, and the invalid field access references a field only available
in the SWT API for X server based platforms. A corrected version of
XOverlay.java is attached.

Original issue reported on code.google.com by ekohl...@gmail.com on 15 Sep 2009 at 1:37

Attachments:

@GoogleCodeExporter
Copy link
Author

we'll try to reimplement it using reflection.

Original comment by lfar...@gmail.com on 5 Nov 2009 at 5:56

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Original comment by lfar...@gmail.com on 5 Nov 2009 at 5:57

@GoogleCodeExporter
Copy link
Author

Original comment by lfar...@gmail.com on 15 Dec 2009 at 1:57

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant