Re: Eclipse for Java syntax checker error for generic arrays
Eclipse Community Forums » Java Development Tools
by doria avallone
3d ago
In Java, you cannot directly create arrays of a generic type. This is because generic types are erased at runtime, and the JVM needs to know the specific type that the array will hold to ensure type safety. This code suppresses the unchecked warning because we are manually ensuring that the array will only contain MyClass<Long> instances. It's important to be cautious with this approach to avoid introducing potential ClassCastExceptions at runtime. MyClass<Long>[] longsort = new MyClass<Long>[5]; @SuppressWarnings("unchecked") MyClass<Long>[] longsort = (MyClass<Lon ..read more
Visit website
Re: Any guidance?
Eclipse Community Forums » Java Development Tools
by Erik Brangs
3d ago
If you're really using Eclipse 4.6.0 (Neon) or 4.7.0 (Oxygen), the versions you're using are very old. You're unlikely to get help for those.<br /> <br /> Can you try this in a newer Eclipse (e.g. 2024-03) with m2e? You won't need to install m2e-apt in that version because it's now part of m2e ..read more
Visit website
Any guidance?
Eclipse Community Forums » Java Development Tools
by rachel lewis
3d ago
Hi, I've encountered a strange issue with APT in Eclipse. When I modify a source file (A.java) with an annotation, it triggers an annotation processor to regenerate another file (B.java) as expected. However, the binary class (B.class) isn't recompiled, remaining unchanged even if I inspect it with a decompiler. Manual modifications to B.java or performing a clean operation lead to correct compilation. I've been using m2e-apt, which I thought only adjusted Compiler/APT settings, and observed this issue on Eclipse versions 4.6.0 and 4.7.0 without testing on a non-Maven APT project. Shouldn't th ..read more
Visit website
Re: Label Indentation / Spaces before Comment Tag
Eclipse Community Forums » Java Development Tools
by Rabiya Jamal
1w ago
If need any help? I'll solve this ..read more
Visit website
Re: Changes to 2024-03 css waste too much space
Eclipse Community Forums » Java Development Tools
by Marco Descher
1w ago
Found in https://github.com/eclipse-platform/eclipse.platform.ui/issues/1674#issuecomment-2017386631 ..read more
Visit website
Re: Changes to 2024-03 css waste too much space
Eclipse Community Forums » Java Development Tools
by Marco Descher
1w ago
Seems to be due to https://eclipse.dev/eclipse/news/4.31/platform.php#viewer_limit_applied - setting to 0 does however still not reinstated the old view ..read more
Visit website
Re: Changes to 2024-03 css waste too much space
Eclipse Community Forums » Java Development Tools
by Marco Descher
1w ago
Am I the only one bothered by this? Does this occur only on Mac? It's horrible - sorry ..read more
Visit website
Re: Eclipse and CVS
Eclipse Community Forums » Java Development Tools
by David K
2w ago
Erik<br /> <br /> Excellent. Thank you so much.<br /> <br /> I had installed 2024-03, but it looks like I'll give 2023-12 a try with the plugin you suggested. If I can't get that to work, I'll give 2021-12 a try. <br /> <br /> I'm upgrading from Kepler (2014) so even the 2021-12 should be a big improvement.<br /> ..read more
Visit website
Re: Eclipse and CVS
Eclipse Community Forums » Java Development Tools
by Erik Brangs
2w ago
There's a CVS plugin based on the original plugin at https://github.com/JAndrassy/org.eclipse.team.cvs . According to its bugtracker ( https://github.com/JAndrassy/org.eclipse.team.cvs/issues/5 ), it does not work with Eclipse 2024-03 due to a bug in Eclipse. I have not tried the plugin so I can't tell you more about it. 2021-12 was the last Eclipse IDE release that included support for CSV ..read more
Visit website
Eclipse and CVS
Eclipse Community Forums » Java Development Tools
by David K
2w ago
It seems that CVS is no longer supported in Eclipse, but I have a CVS project that I need to be able to access.<br /> <br /> I am upgrading eclipse from an old development environment, but the latest Eclipse doesn't give me the option to install it from the marketplace. <br /> <br /> Are there any options to install CVS support in the latest Eclipse that I've missed?<br /> <br /> If not, does anyone know what the last eclipse release is that does support CVS?<br /> <br /> Thanks.<br /> <br /> Oh, also, if there is a better forum for d ..read more
Visit website

Follow Eclipse Community Forums » Java Development Tools on FeedSpot

Continue with Google
Continue with Apple
OR