Problem with FastMap usage in latest update
Posted: Wed Nov 09, 2011 5:41 am
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision 5069:
L2JDP Revision 8518:
For some reason I'm getting the following error in a couple of files (MC_Show.java, RandomSpawn.java and SeedOfAnnihilation.java):
1. ERROR in /RandomSpawn.java (at line 32)
private static Map<Integer, Location[]> SPAWN_POINTS = new FastMap<>();
Syntax error on token "<", ? expected after this token
The error began to pop up on my live Ubuntu server after I applied the Changeset 8510 of DP (http://trac.l2jdp.com/changeset/8510) which switches to Location usage for the coordinates. It works fine on my private Windows test machine though, no error at all.
I had to add the variable type to the FastMap initialization to make it work on Ubuntu, like this:
new FastMap<Integer, Location[]>();
Similarly I did the same for the other files which gave the error.
I have the latest Oracle JRE/JDK on both machines, so I can't really figure out what's causing it. Any ideas?
ยป Find Revision
L2J Revision 5069:
L2JDP Revision 8518:
For some reason I'm getting the following error in a couple of files (MC_Show.java, RandomSpawn.java and SeedOfAnnihilation.java):
1. ERROR in /RandomSpawn.java (at line 32)
private static Map<Integer, Location[]> SPAWN_POINTS = new FastMap<>();
Syntax error on token "<", ? expected after this token
The error began to pop up on my live Ubuntu server after I applied the Changeset 8510 of DP (http://trac.l2jdp.com/changeset/8510) which switches to Location usage for the coordinates. It works fine on my private Windows test machine though, no error at all.
I had to add the variable type to the FastMap initialization to make it work on Ubuntu, like this:
new FastMap<Integer, Location[]>();
Similarly I did the same for the other files which gave the error.
I have the latest Oracle JRE/JDK on both machines, so I can't really figure out what's causing it. Any ideas?