JDK-8181942 : [TEST_BUG] test java/awt/Focus/ModalDialogActivationTest/ModalDialogActivationTest.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • Submitted: 2017-06-12
  • Updated: 2017-06-26
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
8-poolUnresolved
Related Reports
Relates :  
Description
Testsuite name: jdk_awt
Test name(s): java/awt/Focus/ModalDialogActivationTest/ModalDialogActivationTest.java
Product(s) tested: 1.8.0_152 b04
OS/architecture: Windows

Reproducible: Always

Is it a Regression: No (The issue is repeated for 1.8.0_152 b01 where the test is introduced)
Comments
Was able to reproduce the issue on OS X 10.12.2 with JDK 8u131 b11, JDK 8 b132. Could not reproduce the issue on the same host with JDK 9 b175 and the same regression test from "jdk9/client/jdk" repository. It was defined that: 1. This issue is specific only to JDK 8 and is not specific to JDK 9. 2. This issue is not a regression in JDK 8u152. 3. This issue is is a compilation error caused by presence of the the extra symbol "��" in the line "82 public MyModalDialog(Frame owner, String title)�� {" 4. However, it was defined that after the symbol is removed the compilation passes, but the corrected test fails with JDK 8u131 b11 and does not fail with JDK 8 b132, therefore the issue should be investigated further.
26-06-2017

Pending a further evaluation from Anton. (I have written to Anton in email to progress this matter).
19-06-2017

It looks like few unexpected characters are present at line no. 82 in test repo of JDK8 whereas repo of JDK9 is fine
12-06-2017

RULE "java/awt/Focus/ModalDialogActivationTest/ModalDialogActivationTest.java" CompilationError Compilation failed
12-06-2017

Test passing with JDK 9 b171
12-06-2017

Exception/Error from Log: ----------System.err:(4/266)*---------- C:\\ws8u152b04\\jdk\\test\\java\\awt\\Focus\\ModalDialogActivationTest\\ModalDialogActivationTest.java:82: error: ';' expected public MyModalDialog(Frame owner, String title)\u00c2\u00aa { ^ 1 error result: Failed. Compilation failed: Compilation failed
12-06-2017