Bug 533517 - Java™ 10 Support
Summary: Java™ 10 Support
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.7.3   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2018-04-12 12:53 EDT by Eitan Rosenberg CLA
Modified: 2018-04-13 00:54 EDT (History)
1 user (show)

See Also:


Attachments
Eclipse is offering to convert to var (37.15 KB, image/png)
2018-04-12 12:53 EDT, Eitan Rosenberg CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eitan Rosenberg CLA 2018-04-12 12:53:27 EDT
Created attachment 273574 [details]
Eclipse is offering to convert to var

Just install a fresh install of the latest version Oxygen 3a (4.7.3a) .

Try to use var and I am getting:
 
'var' is not allowed here

See attachment:

Eclipse is offering to convert to var and after confirmation fail to compile.
Comment 1 Stephan Herrmann CLA 2018-04-12 15:42:02 EDT
Works for me using http://download.eclipse.org/eclipse/downloads/drops4/R-4.7.3a-201803300640/

Two directions to investigate:

- please attach a complete (minimal) project

- please let us know, what exactly you installed (SDK, a package, which?),
  ideally backed with a list of plug-ins and their versions
  (from About > Installation Details ...)
Comment 2 Eitan Rosenberg CLA 2018-04-13 00:44:44 EDT
Thanks for the response problem solved.
Must be a pilot error....

Steps taken:

- Download eclipse-jee-oxygen-3a-win32-x86_64.zip from a mirror (Germany - University of Erlangen-Nuremberg).
- Verify the download (sha-512) .
- Unzip to a new folder .
- Run Eclipse and create a new workspace.
Comment 3 Eitan Rosenberg CLA 2018-04-13 00:46:02 EDT
Must be a pilot error....
Comment 4 Eitan Rosenberg CLA 2018-04-13 00:46:28 EDT
Must be a pilot error....
Comment 5 Eitan Rosenberg CLA 2018-04-13 00:54:30 EDT
Just found out that the cause of the problem is lombok !!

https://projectlombok.org/features/var