正如标记所说,类型是不可更改的,在以下情况下会出现问题:
try { doSomeStuff();} catch (SomeException<Integer> e) { // ignore that} catch (SomeException<String> e) { crashAndBurn()}两者
SomeException<Integer>和
SomeException<String>都被擦除为相同类型,JVM无法区分异常实例,因此也无法确定
catch应执行哪个块。

正如标记所说,类型是不可更改的,在以下情况下会出现问题:
try { doSomeStuff();} catch (SomeException<Integer> e) { // ignore that} catch (SomeException<String> e) { crashAndBurn()}两者
SomeException<Integer>和
SomeException<String>都被擦除为相同类型,JVM无法区分异常实例,因此也无法确定
catch应执行哪个块。