EvansRasyid / terminal-ide

Automatically exported from code.google.com/p/terminal-ide
0 stars 0 forks source link

javac generics compiler bug #93

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. try to compile a Java program using generics like this:
foo.<Integer>bar();

What is the expected output? What do you see instead?
it should compile with no errors like it does in eclipse but it fails like that:
foo.<Integer>bar();
    ^
illegal start of expression

What version of the product are you using? On what operating system?
TerminalIDE 2.02, Nexus 4, Android 4.2.2 (Carbon ROM)

Please provide any additional information below.
Google found that this once was a compiler bug in javac but should be fixed now 
so maybe you just have to upgrade to the newest compiler version to fix that.

Original issue reported on code.google.com by David.Le...@gmail.com on 28 Apr 2013 at 8:10

GoogleCodeExporter commented 8 years ago
Seems like I got it fixed myself. I just downloaded the TerminalIDE source code 
and newest JDK source and replaced the corresponding files.

Original comment by David.Le...@gmail.com on 30 Apr 2013 at 2:52