JDK-8079790 : Audio clip is not loaded
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 8u45
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2015-05-08
  • Updated: 2015-11-02
  • Resolved: 2015-06-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u65Resolved 9Resolved
Related Reports
Relates :  
Relates :  
Relates :  
Description
Testsuite:set1 in applet
Test name(s):crystalsquid_BeeMania
Product(s) tested:Jre8u51b11 64bit 
OS/architecture:OEL6.4-UEK-x64
Reproducible: Always
Reproducible on machine:egtc

Is it a Regression:No

(Jre8u40b27 64bit+Oel6.4-UEK-64bit+FF38:Pass)
(Jre8u20b26 64bit+Oel6.4-UEK-64bit+FF38:Pass)

Test result on the last GAed release for this train:Fail
(Jre8u45b14 64bit+Oel6.4-UEK-64bit+FF38:Failed,it is the same issue)

[if Fail] Test result on FCS:Pass
(Jre1.8.0 64bit+Oel6.4-UEK-64bit+FF38:pass)

Is it a platform specific issue:No
 1)Jre 8u51b11 64bit+Mac10.9+Safari7.1.6: Failed,it is the same issue
 2)Jre 8u51b11 64bit+Winvista-sp2-x64+IE9: Failed,it is the same issue


Exception/Error from Log:http://aurora-ds3.us.oracle.com:9502/runs/00866/866925.ManualSubmit/866925.ManualSubmit-1/workDir/set1/crystalsquid_BeeMania.jtr

Copy applet workspace,install test jre,and run this case
Test Procedure: 
1)the case crystalsquid_BeeMania:
1.Browse http://www.crystalsquid.com/games/bm/bee_play.php 
2.The game should be loaded 
3.Click 'Click to Start' 
4.Select the level of game difficulty 
5.Play the game, test the applet using all features and functionality 

2)The case crystalsquid_MonkeyTrouble
Please load http://www.crystalsquid.com/games , Find 'Monkey Trouble' game and Click 'Play'

3)The case crystalsquid_TrafficJammer
Please load http://www.crystalsquid.com/games/tjjx/trafficjx_play.php

The actual result:
The Applet can be loaded as thrown java.security AccessControlException:access denied ("java.net.SocketPermission" "www.crystalsquid.com" "resolve") in java console, Please refer to bee.png
Comments
On ubuntu15.04-x64-jre8u51b13-64bit-FF38 There are the issue for following cases: RULE set3/gamesiwon_BatARat any any RULE set3/gamesiwon_CaribbeanStud any any RULE set3/gamesiwon_Roulette any any RULE set3/gamesiwon_Pulltabs any any RULE set3/gamesiwon_GolfSlots any any
27-05-2015

oel6.4-uek-x64/9b57 64bit/FF38: there is no this issue
19-05-2015

That looks misleading, I have a permission to connect to the server has no permission to resolve it? And according to the SocketPermission spec: * The "resolve" action is implied when any of the other actions are present."
19-05-2015

This stacktrace printed from the debug code in AccessControlContext and URL,hascode() actually handle this Exception properly.
19-05-2015

How the string can solve the problem, since we will get the same exception when we try to connect to the server and load an image? (This method intentionally connect to the server and load an image, at the beginning it checks that securitymanager has "url.openConnection().getPermission()" permission.)
19-05-2015

The root problem for this issue is that usage of java.net.URL in the collections should be avoided since java.net.URL.hashCode() could result in new network requests being initiated. Changing the implementation of SunToolkit.getImageFromHash(Toolkit, URL) to use java.lang.String (e.g. url.toString()) rather then java.net.URL object as a keys in *imgCache* hash map should solve this problem.
18-05-2015

oel6.4-uek-x64/8u40b27 64bit/FF38: there is no this issue oel6.4-uek-x64/8u20b20 64bit/FF38: there is no this issue
18-05-2015

Michael, does it affect 8u20? 8u40?
18-05-2015

Michael, does it affect 9?
18-05-2015

mac10.9/7u85b11/safari RULE set1/crystalsquid_BeeMania any any RULE set1/crystalsquid_MonkeyTrouble any any RULE set1/crystalsquid_TrafficJammer any any There are same issue
15-05-2015

mac10.9/8u60b14/FF37 There are same issue for following cases: RULE set1/byart_Sudoku any any RULE set1/crystalsquid_BeeMania any any RULE set1/crystalsquid_MonkeyTrouble any any RULE set1/crystalsquid_TrafficJammer any any RULE set1/ericharshbarger_BreakAway any any RULE set1/freearcade_SuperDunkBasketball any any RULE set1/lectureonline_PianoSound any any RULE set1/playfreegame_AkimoTequilaWorm any any RULE set1/playfreegame_JavaIceHockey any any RULE set1/radicalplay_NeedforMadness any any RULE set1/smiliegames_BugBuster any any RULE set1/thejmaker_ThreeDimView any any RULE set1/toytoygames_AstroCrusher any any RULE set1/vredungmand_MrHopwitMysterious any any RULE set1/vredungmand_SpaceraceTimbuktu any any RULE set1/wolvesden_3DDriver any any RULE set1/wolvesden_SkeetShoot any any RULE set1/wolvesden_SnakePit any any RULE set1/wolvesden_TuxOnTheRun any any RULE set1/wolvesden_UFOAttack any any
09-05-2015

To Denis/Michael - Please advise if this is a regression in 8u51
08-05-2015

RULE set1/crystalsquid_BeeMania any any RULE set1/crystalsquid_MonkeyTrouble any any RULE set1/crystalsquid_TrafficJammer any any
08-05-2015