Maurizio Cimadamore

Results 10 issues of 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...

csr
rfr
build
serviceability
hotspot
core-libs
net
i18n
security
jmx
client

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...

csr
rfr
core-libs

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...

csr
rfr
core-libs

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: *...

ready
rfr

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...

ready
rfr

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...

ready
rfr

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...

ready
rfr
compiler