Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error/Warnings behaviour differences between Eclipse installations
Error/Warnings behaviour differences between Eclipse installations [message #1819129] Wed, 08 January 2020 14:30 Go to next message
Ulrich Scholz is currently offline Ulrich ScholzFriend
Messages: 15
Registered: September 2013
Junior Member
We have two Eclipse installations that differ in their behaviour regarding Error/Warnings: One Eclipse states that some object is used as raw type, the other does not give that warning.

We look at the same Java code and it's not a problem of Eclipse preferences. Also, it's not the Java version: both Eclipse installations run with and use for compiling java-8-openjdk-amd64

Now, there can be many reasons for this difference. Any idea where we should start looking?

Eclipse installation 1
- Windows 10
- Version: 2019-09 R (4.13.0), Build id: 20190917-1200

Eclipse installation 2
- Linux
- Version: 2018-09 (4.9.0), Build id: 20180917-1800

Edit: Using the same java version for both installations

[Updated on: Wed, 08 January 2020 15:08]

Report message to a moderator

Re: Error/Warnings behaviour differences between Eclipse installations [message #1819149 is a reply to message #1819129] Wed, 08 January 2020 21:06 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

Eclipse has its own Java compiler and settings, unrelated to the version being used to run Eclipse itself. Check your project's Java Compler...Errors/Warnings property pages.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Error/Warnings behaviour differences between Eclipse installations [message #1819650 is a reply to message #1819149] Mon, 20 January 2020 11:14 Go to previous messageGo to next message
Ulrich Scholz is currently offline Ulrich ScholzFriend
Messages: 15
Registered: September 2013
Junior Member
@Nitin. We have checked the Errors/Warnings property pages of the project. They completely match between the different Eclipse instances
Re: Error/Warnings behaviour differences between Eclipse installations [message #1819656 is a reply to message #1819650] Mon, 20 January 2020 14:14 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
JDT does introduce new warnings from time to time, so that might well be the difference with a newer release, but without specific examples that reproduce/demonstrate this issue, it's impossible to say for certain what is the cause of the difference.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Eclipse IDE for C++ - Silent / Unattended install
Next Topic:Eclipse installation Failed
Goto Forum:
  


Current Time: Fri Mar 29 12:06:29 GMT 2024

Powered by FUDForum. Page generated in 0.02777 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top