Re: RFR 8008201: Add java/lang/Class/asSubclass/BasicUnit.java to the ProblemList

2013-02-14 Thread Maurizio Cimadamore
On 14/02/13 11:18, Chris Hegarty wrote: I think it is fine to simply exclude the test for now. It can be re-enabled whenever the issue is resolved in javac. Looks fine - go ahead. Thanks Maurizio -Chris. On 02/14/2013 11:17 AM, Maurizio Cimadamore wrote: If we really care about running the

Re: RFR 8008201: Add java/lang/Class/asSubclass/BasicUnit.java to the ProblemList

2013-02-14 Thread Chris Hegarty
I think it is fine to simply exclude the test for now. It can be re-enabled whenever the issue is resolved in javac. -Chris. On 02/14/2013 11:17 AM, Maurizio Cimadamore wrote: If we really care about running the test, javac has an hidden flag that can be used to force the old inference scheme

Re: RFR 8008201: Add java/lang/Class/asSubclass/BasicUnit.java to the ProblemList

2013-02-14 Thread Maurizio Cimadamore
If we really care about running the test, javac has an hidden flag that can be used to force the old inference scheme (I left that as an emergency hatch in cases like these) - so I believe the test can be compiled by using -XDuseLegacyInference That will essentially force a JDK 7-like behavio