I can confirm that you can use Java 8 in GlassFish 4.0.1-nightly-snapshots.
You need a recent version though (HK2 2.2.0b27 or higher is required).
See
https://java.net/jira/browse/GLASSFISH-20972
- Johan
2014-03-21 4:12 GMT+01:00 John Clingan <john.clingan_at_oracle.com>:
> A couple of points that should address your question.
>
> 1) We have not done quality testing with JDK 8 on GlassFish 4 yet. That is
> planned for GlassFish 4.next.
> 2) We have no plans to add JDK 8 support with GlassFish 3.
>
> For your bugs, can you open JIRA issues if you feel they are attributed to
> GlassFish?
>
> Thanks.
>
> On Mar 17, 2014, at 3:42 PM, Dan Kaplan <dank_at_mirthcorp.com> wrote:
>
> We currently use Glassfish 3 and I really want to use Java 8. I tried
> upgrading to Glassfish 4, but I experienced two bugs in the Glassfish 4
> code so I had to revert back to Glassfish 3. Will Glassfish 3 work with
> Java 8 or will I have to upgrade my application container?
>
> --
> Thanks,
> Dan
>
> CONFIDENTIALITY NOTICE: The information contained in this electronic
> transmission may be confidential. If you are not an intended recipient, be
> aware that any disclosure, copying, distribution or use of the information
> contained in this transmission is prohibited and may be unlawful. If you
> have received this transmission in error, please notify us by email reply
> and then erase it from your computer system.
>
>
>