Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [glassfish-dev] JDK 11 progress

> The return value of Class.getPackage() appears to be different when referencing a class in the default package (It looks like a JDK bug to me, though.).

It is disclosed at
https://www.oracle.com/technetwork/java/javase/9-relnote-issues-3704069.html
  ...This may impact code that expects Class::getPackage to return
null for a class in the unnamed package....

-- 
Piotrek


Back to the top