Maurizio Cimadamore
Maurizio Cimadamore
This PR implements [JEP 472](https://openjdk.org/jeps/472), by restricting the use of JNI in the following ways: * `System::load` and `System::loadLibrary` are now restricted methods * `Runtime::load` and `Runtime::loadLibrary` are now restricted...
Consider this layout: ``` MemoryLayout SEQ = MemoryLayout.sequenceLayout(5, MemoryLayout.sequenceLayout(10, JAVA_INT)); ``` And the corresponding offset handle: ``` MethodHandle offsetHandle = SEQ.offsetHandle(PathElement.sequenceLayout(), PathElement.sequenceLayout()); ``` The resulting method handle takes two additional...
When creating a nested memory access var handle, we ensure that the segment is accessed at the correct alignment for the root layout being accessed. But we do not ensure...
I work on OpenJDK, and I'm trying to publish a JMH report using your great tool. I've uploaded my JMH json files here: https://cr.openjdk.org/~mcimadamore/jdk/8331865/ Ideally, I'd like to pass the...
This PR fixes a bunch of issues with trying to run jextract in CPP mode, using a `compile_flags.txt` file containing the `-xc++` flag. I've found at least three issues: *...
This draft PR contains some preliminary work to generalize parsing of externalized type forms, as well as to making Java type string in code models more readable. --------- ### Progress...
This draft PR contains some preliminary work for making handling of Java type strings in code models more uniform. --------- ### Progress - [x] Change must not contain extraneous whitespace...
This PR undoes some unnecessary changes to the javac code: * `LambdaToMethod` still mentions the `QUOTABLE` flag, which is no longer in use * `Symtab` has an helper method to...
The code reflection support needs a way to compute the closest fully denotable supertype of the type of an expression. To do this we build on [type projections](https://docs.oracle.com/javase/specs/jls/se25/html/jls-4.html#jls-4.10.5), but this...
8373570: Javac stack overflow on method-local class with nested record referring to enclosing type
The fix for https://git.openjdk.org/jdk/pull/21410 introduced a regression: javac will no longer reject local classes created from a context that is not an inner class of the class enclosing the local...