Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8036727

Regression: Applet fails, using HttpsURLConnection that should not need SocketPermission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 8u5
    • deploy
    • b10
    • 8u5
    • x86
    • windows_7

      J2SE Version (please include all output from java -version flag):
         8u05 b10


      Does this problem occur on J2SE 7ux? Yes / No (pick one)
         No, works fine with 8u05 b07


      Operating System Configuration Information (be specific):
         Windows 7


      Bug Description:
         Jested 8u05 b10 with some new code that has removed the SocketPermission check we were doing. This change works in our latest code (TP 8.1), but it does not work in a previous version of our code (TP 8.0 SP3).

      During the process, the attached error had been seen several times, and then the operation in applet fails, but the applet loads fine.

      Using the HttpsURLConnection, which should not need SocketPermission, though the error indicates that SocketPermission is required, but not present.


      This is different behavior than the previous build we tested, 8u05 b07. In 8u05 b07, these changes work in both of our product versions.

      Console attached.

      Triage: ILW=HMH=P2

        1. error.png
          7 kB
          Ting-Yun Ingrid Yao
        2. jre8u05.b10.console.txt
          525 kB
          Ting-Yun Ingrid Yao

            dtitov Daniil Titov (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: