Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Java 8 sockets  (Read 1442 times)
0 Members and 1 Guest are viewing this topic.
Offline ddyer
« Posted 2014-04-25 18:27:23 »

Heads up for all sites which use java and sockets - java 8 seems to have broken
using sockets in sandboxed applets.  This is currently seen in java web start,
but presumably will migrate to ordinary applets when the java plug-in is upgraded
to java 8.

The complaint is java.security.AccessControlException

this is a new complaint in java 8 - your current working site will break.
Offline delt0r

JGO Knight


Medals: 30
Exp: 18 years


Computers can do that?


« Reply #1 - Posted 2014-04-26 14:51:05 »

People still use applets? And Web start?

End users need not know your using java. Otherwise your doing it wrong. My 2c anyway.

I have no special talents. I am only passionately curious.--Albert Einstein
Offline CodeHead

JGO Knight


Medals: 41


From rags to riches...to rags.


« Reply #2 - Posted 2014-04-26 15:27:20 »

People still use applets? And Web start?

End users need not know your using java. Otherwise your doing it wrong. My 2c anyway.

Corporations still use applets and Web Start. While such a warning may not seem that relevant to most JGO game developers, it's useful for those of us who utilize Java in an enterprise environment. Wink

Arthur: Are all men from the future loud-mouthed braggarts?
Ash: Nope. Just me baby...Just me.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline AirTime

Senior Newbie


Exp: 4-6 months


Not a glitch, just a misplaced curly brace.


« Reply #3 - Posted 2014-04-26 15:57:26 »

People still use applets? And Web start?

End users need not know your using java. Otherwise your doing it wrong. My 2c anyway.

I'm with you, I'm just concerned about the Applets/Web Starts that have already been made. If the client (you and me) update our Java to Java 8, and the author does not update his program, the client would not be able to run the program. That could cause some bad things to happen.

Nothing's gonna change my world.. well, at least until the next syntax error appears Tongue
Offline ddyer
« Reply #4 - Posted 2014-04-26 17:46:23 »

People still use applets? And Web start?

End users need not know your using java. Otherwise your doing it wrong. My 2c anyway.

It's true that Oracle seems to be trying to kill it by the death of 1000 cuts.  Meantime, the news is that the java plugin
that uses java 8 has appeared, so applets as well as web start are now broken.
Offline delt0r

JGO Knight


Medals: 30
Exp: 18 years


Computers can do that?


« Reply #5 - Posted 2014-04-26 18:06:25 »

C++, C, C#, python, Lua etc don't have applets and web start. They are not dying any more than java is.

Yea i did a lot of enterprise stuff a way back. We typically have good control over expected configuration of the clients. Even back then we dropped applets for our own local client. Sometimes a web page is not the best tool for the job.

I have no special talents. I am only passionately curious.--Albert Einstein
Offline ddyer
« Reply #6 - Posted 2014-04-29 19:10:32 »

I have a fairly definitive answer on this.  Buried in the "enhancements" section of the java 8 documentation.
http://docs.oracle.com/javase/8/docs/technotes/guides/jweb/enhancements-8.html

      "For sandbox RIAs, SocketPermissions for the origin host is no longer granted. Calls from JavaScript code to the
      RIA are not granted SocketPermissions beginning with JDK 8."

I Leave it to the reader to decide in what universe this is an enhancement.

So it appears that Oracle has decreed that sandboxed applets can't use sockets; they have to become all-permissions
applets, which have unrestricted access to the client's machine.  It mystifies me how requiring users to trust applets with
unrestricted access will enhance security.
Offline Riven
« League of Dukes »

« JGO Overlord »


Medals: 840
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #7 - Posted 2014-04-29 19:22:29 »

 It mystifies me how requiring users to trust applets with unrestricted access will enhance security.
By killing it off. It's one of the most effective measures.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (30 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (42 views)
2014-12-09 22:41:13

BurntPizza (76 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (51 views)
2014-12-03 16:27:13

CopyableCougar4 (49 views)
2014-11-29 21:32:03

toopeicgaming1999 (115 views)
2014-11-26 15:22:04

toopeicgaming1999 (105 views)
2014-11-26 15:20:36

toopeicgaming1999 (31 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!