CARVIEW |
Select Language
HTTP/2 301
server: AkamaiGHost
content-length: 0
location: https://mail.openjdk.org/pipermail/jigsaw-dev/2015-December/005745.html
date: Thu, 31 Jul 2025 10:01:58 GMT
HTTP/2 200
content-type: text/html
last-modified: Wed, 09 Dec 2015 08:24:25 GMT
etag: "181f-52672d1690040"
accept-ranges: bytes
x-akamai-transformed: 0 - 0 -
vary: Accept-Encoding
content-encoding: gzip
date: Thu, 31 Jul 2025 10:01:59 GMT
content-length: 2569
set-cookie: _abck=2D5488CED2877A827A1965EE6FFD584B~-1~YAAQNAHARageMj2YAQAAO3LuXw6PxSPZmBqYDg/XTg8ai6tX5b0TX5oGqKd7xUAMQ39HKbJuHRrwgZ7cTGYiA0tuCQVifDInBOHtK6TNvHk4QKbF9E5RyBd660SFnOw/WTJ6A84NyPypsSoO4NbCvdvtstSdQdrlnd1qQi/7gNve+qQT/eU0Rtui5029yPFtLJ4ClxGBwzKyR3Dj4VhigEWnkp8okIsmZDQBKpupSduJ8ReblF3OI5UM5ZIN+EbbkJ6TX6ijBzN/F1vkDUPkwfjC/YutjwNCVrq2D4txxgle756ZJr5EtzJe2gJmks8cIVBiOgz2CuVOejriLxW2IIcmh60H+3RMEZ5JVhEQh6e8F7WHR2REm4BMkIiEpNpkTis8ZpW5IdH5uYiR1IVz2NtlfyH8cu2z7b5xkUFZr3WFhgvrQNk0nFKmR+djX1zntxIlXJ8=~-1~-1~-1; Domain=.openjdk.org; Path=/; Expires=Fri, 31 Jul 2026 10:01:59 GMT; Max-Age=31536000; Secure
set-cookie: bm_sz=B8C48F0E0EB5D59C5CECD8C6D885A497~YAAQNAHARakeMj2YAQAAO3LuXxywcjYfOmuLKswuPhdrCxaDj++04fx1nuUIk6c1OlWItcDGe2rZXyTBlM9rRwkcvQFjT/icToUWDvBGHiaqv40BTRm7ePf5ltrkhcVtcFl1uPzER4VJLjljhtAmCtGpTfrpA0hMRWj5PUwOt+dayK1jNArxITxHMfrMxNXPxgYW8OEJ6kPCGkBwdSdx9Ce2IdS2jKZONRGk+i1vn7KHBhRYP18J/FGzRmNvXBXUebb1yIuJKRCZEoaJWajfoOjTZRvDQU0wgzgNq8apsAAFF7BlQzoenUBetSXuJLiYgszJ560//+uhD1zElAWRY4cPowLvM/qNSmLdUWuvDYV3QUev10z81K0=~3617847~3621680; Domain=.openjdk.org; Path=/; Expires=Thu, 31 Jul 2025 14:01:58 GMT; Max-Age=14399
Feature complete?
Wed Dec 9 08:24:32 UTC 2015
More information about the jigsaw-dev mailing list
Feature complete?
Simon Nash simon at cjnash.comWed Dec 9 08:24:32 UTC 2015
- Previous message: Feature complete?
- Next message: Feature complete?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alan Bateman wrote: > > > On 04/12/2015 13:50, Reinier Zwitserloot wrote: >> : >> >> Emphasis mine: "only"? >> >> "Just add some command line switches" is not exactly a nice solution. >> From >> personal experience, the vast majority of java users do not know how >> to add >> configure command line switches to the various compile and build VMs >> being >> started by their build tools of choice, for example. Also, not something >> Alan mentioned here: Adding the command line switches is currently the >> _ONLY_ solution, so tools that are aware of the issue can't even fix it, >> other than by mangling modules (bad idea, I think we all agree on that I >> assume), or advising the userbase not to actually USE any of the >> modularity >> features and, preferably, to avoid switching to JDK9 altogether. > The context for this discussion, as least my understanding, is that we > were talking existing code where you are trying to run it in the same > way as you did in JDK 8. If that code is using JDK-internal APIs then > the command-line option is the only workaround proposed to keep that > code working. > > I agree that setting the command-line is a challenge in many > environments, esp. when it is buried in XML files or scripts. You may be > right that it is beyond some developers too. We've tried to make error > and exceptions as clear as possible so that it's not too difficult to > figure out what is going on. > Setting addExports via the command line is very problematical for my application. This application needs to run on 7 different platforms with both graphical and console interfaces. Each platform has different packaging requirements and launch arrangements. In at least one case, (launching via the .jar file association on Windows), it isn't possible to add command-line JVM options. For each platform, the same installable application package needs to run on Java 7, Java 8 and Java 9 with no impact to the user when he/she upgrades to Java 9 from Java 7 or Java 8. Adding the necessary -XaddExports options to the command line for Java 9 for all platforms while satisfying the above constraints is very challenging and would be a large amount of work. If some other way of setting these options could be provided (for example, via the manifest in the main JAR file or by an API call from the application), this would greatly simplify the migration of my application to Java 9. Simon >> >> Emphasis mine: "starting out"? >> >> This gets back to an earlier issue I raised on this mailing list: Okay, >> starting out this isn't an issue, but by having no way to opt out of >> export-based access control, it's a bit like switching from driving on >> the >> left side of the road to the right: Unless the entire greater java >> community switches in the same instant, we're all going to have a bad >> time. > The current design and prototype provides support for migration to > modules without waiting for the rest of the world to migrate. We're > going to need more experience, help, feedback to make sure that this is > useful. > > The main challenge is of course is the tension between frameworks and > strong encapsulation. Existing frameworks don't know about modules and > so it will be important for willing maintainers of at least some > important frameworks to work with us to get to the right solution. Maybe > then we can start switching to the other side of the road, a gradual > migrating, starting with the big trucks :-) > > -Alan >
- Previous message: Feature complete?
- Next message: Feature complete?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the jigsaw-dev mailing list