Comments (2)
This is great, Per!
from renjin.
I made an initial attempt here: https://github.com/perNyfelt/renjin/tree/java11
I did NOT do any modularization but tried to stay as close to the current implementation as possible. As a result, not many files needed to change.
Good things: it compiles and all tests pass.
Maybe problematic things:
- The Classloader after java 8 is no longer a URLClassloader and the module system makes this non-trivial to adress. To work around that I did:
- In the gcc-bridge i introduced a dependency on the classgraph project to build a custom URLClassloader with all classpath elements to get Soot to work.
- In the ForkedTestControllerTest I just changed getCurrentClassPath to do System.getProperty("java.class.path")
- In test.local.file.R in the test.jar.resource function i changed the test for res:java/util/Map.class to res:org/renjin/sexp/AtomicVector.class. The reason is that res:java/util/Map.class resolves to jrt:///java.base/java/util/Map.class which the FileSystemManager cannot make sense of. There is a way to handle this in later versions of vfs2 but upgrading vf2 looked like a LOT of work. I am not sure of the use case for locating a jar for java internal classes (e.g. java.util.Map) - there really isn't one in the jigsaw world, however if this case is important, it is probably possible to do some magic with the help of ClassGraph.
So at least there is a buildable branch based on java 11. Comments and/or suggestions would be most welcome!
from renjin.
Related Issues (20)
- RowNamesVector construction HOT 2
- getwd() begins with / on windows which differs from GNU R
- Recursive validObject does not work on formulas HOT 1
- Change BLAS dependency
- http://javadoc.renjin.org/ says access denied
- Avoid writing double semicolon in SVG style attribute HOT 1
- dplyr seem to stop execution HOT 4
- read.delim() returns integer instead of character
- Diacritics not removed using iconv
- Trouble clearing bindings with RenjinBindings.clear()
- What's the performance of the outputted Java compared to native speed? HOT 1
- Linking with Renjin in non-GPL software HOT 2
- Make GCC build script reentrant
- Build native application using GraalVM HOT 12
- ConcurrentModificationException while clear bindings
- Unable to load Randomforest model HOT 7
- Cannot extract contents of Renjin 3.5 beta76 archive
- gcc library exception in Renjin HOT 2
- Unable to retrieve REddyProc.jar
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 renjin.