Comments (6)
Indeed, we should add a @GeneratedBy
annotation. This also helps with navigating from the generated class to the source class in an IDE.
from graal.
Using @GeneratedBy
is OK. Other option is to generate Javadoc and include @link
references. Those are good for navigation as well.
from graal.
Where does SL throw such an exception?
AFAIK, SL is using Interop-DSL, which generates a Factory10 implementation (which throws an UnsupportedMessageException).
@jtulach returning null is not a good idea - I think the JavaDoc of Factory10 is wrong.
One has to raise an UnsupportedMessageException (i.e., doing UnsupportedMessageException.raise(Message.XXX); ).
from graal.
@grimmerm you can see throwing of these exception in the com.oracle.truffle.sl.runtime.SLxxxxMessageResolutionForeign classes. It's not clear that these are generated automatically -- nothing in the source indicate that, there's no @GeneratedBy or header comment telling so.
from graal.
@grimmerm please fix this.
from graal.
There are currently no plans to fix this minor issue.
from graal.
Related Issues (20)
- missing character set id 852 is not loaded at image build time HOT 1
- Error: Failed to automatically set up Windows build environment HOT 7
- Cannot pass a host custom objects to an Espresso method HOT 2
- Java Agents Support in Native Image
- Use mx's auto-shader to dymaically shade ASM and JCODING dependencies for Truffle HOT 3
- [GR-51474] GraalVM for JDK 22 with JDK 22+31 fails the native-image generator (undefined reference to `Java_java_lang_VirtualThread_notifyJvmtiDisableSuspend') HOT 17
- Maven release of shaded icu4j-23.1.2.jar causes issues because of file name HOT 6
- [GR-51641] Compilation execution fails at the last step, Error: Id: Undefined symbols, _Java_java_lang_VirtualThread_notifyJvmtiEnd HOT 17
- cannot install scipy with graalpy-23.1.2-macos-aarch64.tar.gz HOT 6
- InternalResourceCache is hard-coded to 'user.home'. Overriding the path fails in tests. HOT 6
- Error reading tcl file - Cannot read resource "/tcl/lang/library/init.tcl" HOT 1
- Make graalnodejs-community available in `nvm-sh/nvm` and `coreybutler/nvm-windows`
- [GR-51307] Unable to collect GC data with NotificationEmitter in native build HOT 6
- orai18n dependency causes native application startup failure - Missing character set id 560 HOT 10
- UnsatisfiedLinkError: No awt in java.library.path HOT 6
- Determine the locale of Native Image executables at run-time
- [GR-51862] Native image build fails when using quarkus and protobuf HOT 5
- Native image service unable to compress image HOT 1
- Warning caused by Truffle and Polyglot HOT 4
- GraalVM native with kotlin issue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graal.