4 ms·
Now that is a trip down memory lane. Back in 1994 I was working on a strong capabilities security model for Java with a cryptographic signature based class load
by ChuckMcM 10y ago
Now that is a trip down memory lane. Back in 1994 I was working on a strong capabilities security model for Java with a cryptographic signature based class loader. Amongst the challenges of doing such a system was having a strong versioning system, clear and enforced lines between public and private interfaces, and a dynamic bytecode editing system which would actually elide capabilities from the class being loaded that weren't authorized (system is no good if reflection can show you things you aren't supposed to see right?)
Reading that proposal I can see that Jigsaw has run up against and is trying to 'create' some (but not all of course) very similar features on which to host a module system. And some of the very same arguments come up against them.
In particular this statement from the recommendation[1]:
Jigsaw's implementation will eventually require millions of users and authors in the Java ecosystem to face major changes to their applications and libraries, especially if they deal with services, class loading, or reflection in any way.
Is nearly a word for word echo on the reasons why my 'overly complicated and invasive' security requirements would all the people writing Java code that really didn't care all the much about such strong security guarantees.
I don't have a position one way or the other, I've been out of the Java world for a long time now, but it really struck me like Deja Vu to read that objection.
[1] https://developer.jboss.org/blogs/scott.stark/2017/04/14/critical-deficiencies-in-jigsawjsr-376-java-platform-module-system-ec-member-concerns https://developer.jboss.org/blogs/scott.stark/2017/04/14/cri...
- rietta 10y agoJava was not publicly released until 1996? That is when I first remember it. So does this mean you were working at Sun at the time with Mr. Gosling? One of my clients is apparently friends with Mr. Gosling and was surprised when I recognized him from a photo at a Sharks game in the "oh wow! That's James Gosling". Never met, just from having read a wikipedia page.
- ChuckMcM 10y agoYes, technically Java was announced in March of 1995. I had joined the secret project known as 'Green' in 1992 to build an OS out of it and do networking and security work. (very old picture https://stuff.mit.edu/afs/sipb/user/marc/hotjava/doc/people.html https://stuff.mit.edu/afs/sipb/user/marc/hotjava/doc/people....)
- rietta 10y agoVery cool. My very first exposure to programming Java was being given a copy of Visual J++ 1 by a neighbor along with a book. I quickly learned that real Java was better. From the time I was 14, I was in love with coding starting with GW Basic, QBasic, Turbo C++, etc.