GNAT Ada-Java Interfacing Suite User’s Guide¶
- Category
GNU Ada tools
- Title
GNAT Ada-Java Interfacing Suite User’s Guide
- Subtile
A Toolkit for the GNAT Pro Ada Compiler
- Edition
GNAT Pro Edition
- Version
24.0w
- Date
2022-11-29
- Author
AdaCore
- Copyright
C 1995-2022, Free Software Foundation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the Invariant Sections being “GNU Free Documentation License”, with the Front-Cover Texts being “GNAT Ada-Java Interfacing Suite” and “GNAT-AJIS User’s Guide”, and with no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.
- 1. About This Guide
- 2. Getting Started with GNAT-AJIS
- 3. Using ada2java to Generate Java Classes
- 4. Mapping Ada to Java
- 5. Advanced ada2java Topics
- 5.1. Renaming bound record types
- 5.2. Dealing with Name Clashes
- 5.3. Dealing with ambiguous operand in conversion errors
- 5.4. Removing function/procedure from binding layer
- 5.5. Allowing Java object creation even if the primitive cannot be bounded
- 5.6. Allowing Java child types even if the primitive cannot be bounded
- 5.7. Disabling function alias creation on name clash
- 5.8. Memory Model
- 5.9. Aliasing
- 5.10. Thread Safety
- 5.11. Proxies and Native Object Equality
- 5.12. Clone and Copy Semantics
- 5.13. Cross-Language Inheritance
- 5.14. Managing Attachment to Java Proxies
- 5.15. Exceptions propagation
- 5.16. Allowing limited types Java derivation
- 5.17. Disabling Java Iterator For Ada Collections
- 5.18. Disabling Java Iterator Optimization For Ada Collections
- 6. Using JNI Directly