Bug 12969 - jacks - synchronized (void expression) should be rejected
Summary: jacks - synchronized (void expression) should be rejected
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M5   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-08 05:38 EDT by Philipe Mulet CLA
Modified: 2002-04-08 05:38 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2002-04-08 05:38:19 EDT
Build 20020404

From jacks test suite:

tests/jls/blocks-and-statements/synchonized-statement

==== 14.18-expression-6  The type of the expression must be a
        reference  FAILED
==== Contents of test case:

    empty_main T1418e6 {
        synchronized (System.out.println()) {}
    }

---- Result was:
PASS
---- Result should have been:
FAIL
Comment 1 Philipe Mulet CLA 2002-04-08 05:38:36 EDT
Fixed.